Skip to content

Commit fc64ac4

Browse files
committed
Merge pull request #10 from jonakk/master
Latest phusion image. Fix failing commands
2 parents dde3e07 + 1c51484 commit fc64ac4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM phusion/baseimage:0.9.9
1+
FROM phusion/baseimage:0.9.15
22

33
ENV HOME /root
44

@@ -12,7 +12,7 @@ RUN apt-get install -y vim curl wget build-essential python-software-properties
1212
RUN add-apt-repository -y ppa:ondrej/php5
1313
RUN add-apt-repository -y ppa:nginx/stable
1414
RUN apt-get update
15-
RUN apt-get install -y php5-cli php5-fpm php5-mysql php5-pgsql php5-sqlite php5-curl\
15+
RUN apt-get install -y --force-yes php5-cli php5-fpm php5-mysql php5-pgsql php5-sqlite php5-curl\
1616
php5-gd php5-mcrypt php5-intl php5-imap php5-tidy
1717

1818
RUN sed -i "s/;date.timezone =.*/date.timezone = UTC/" /etc/php5/fpm/php.ini
@@ -23,8 +23,8 @@ RUN apt-get install -y nginx
2323
RUN echo "daemon off;" >> /etc/nginx/nginx.conf
2424
RUN sed -i -e "s/;daemonize\s*=\s*yes/daemonize = no/g" /etc/php5/fpm/php-fpm.conf
2525
RUN sed -i "s/;cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/" /etc/php5/fpm/php.ini
26-
27-
RUN mkdir /var/www
26+
27+
RUN mkdir -p /var/www
2828
ADD build/default /etc/nginx/sites-available/default
2929
RUN mkdir /etc/service/nginx
3030
ADD build/nginx.sh /etc/service/nginx/run

0 commit comments

Comments
 (0)