LoginSignup
1
1

More than 5 years have passed since last update.

DockerでPhalcon用にベースイメージを作る Phalcon 1.3.4 (LAMPベース)

Last updated at Posted at 2015-02-24

こちらにソースを置いておきます。
https://github.com/teruchi/phalcon-base

まずはDockerfileを用意します。

#
# Phalcon Base
#
# 20150223
#   Phalcon 1.3.4 (remi)
FROM teruchi/lamp-base
MAINTAINER teruchi

# install phalcon
RUN yum install -y php-phalcon && \
    yum clean all

# install mbstring php-xml
RUN yum install -y php-mbstring libxslt php-xml && \
    yum clean all

ベースイメージにはこちらで作成したものを使ってます。
http://qiita.com/_teruchi/items/ee23f34ae1918ff31088

cloneしたディレクトリで

$ docker build -t teruchi/phalcon-base .

Phalconはビルドがとにかくめんどくさいので、remiに用意されているrpmを使います。

ここで作ったイメージをベースにPhalconのプロジェクトを作っていきます。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1