File tree 1 file changed +32
-0
lines changed
1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM ubuntu:14.04
2
+ MAINTAINER Thomas Stevens <
[email protected] >
3
+
4
+ # Keep upstart from complaining
5
+ RUN dpkg-divert --local --rename --add /sbin/initctl
6
+ RUN ln -sf /bin/true /sbin/initctl
7
+
8
+ # Let the conatiner know that there is no tty
9
+ ENV DEBIAN_FRONTEND noninteractive
10
+
11
+ RUN apt-get update
12
+ RUN apt-get -y upgrade
13
+
14
+ # Install software
15
+ RUN apt-get install -y git vim curl wget build-essential software-properties-common python-software-properties\
16
+ pwgen python-setuptools supervisor
17
+ RUN add-apt-repository ppa:ondrej/php5
18
+ RUN add-apt-repository ppa:nginx/stable
19
+ RUN apt-get install -y nginx
20
+ RUN apt-get install -y --force-yes php5-cli php5-fpm php5-mysql php5-curl php5-mcrypt\
21
+ php5-gd php5-intl php5-tidy php5-imagick php5-mongo php-pear php5-dev make
22
+ RUN php5enmod mcrypt
23
+ RUN pecl install mongo && php5enmod mongo
24
+
25
+ # Install Composer
26
+ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
27
+
28
+ # Environment helper tool
29
+ RUN curl -sLo /usr/local/bin/ep https://github.com/kreuzwerker/envplate/releases/download/v0.0.7/ep-linux && chmod +x /usr/local/bin/ep
30
+
31
+ # Cleanup
32
+ RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
You can’t perform that action at this time.
0 commit comments