From 1c51484739ce5cecdd702ba49842d7fb9a703908 Mon Sep 17 00:00:00 2001 From: "beto.eb" Date: Wed, 26 Nov 2014 19:19:25 -0800 Subject: [PATCH] Latest phusion image. Fix failing commands --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9f9cd77..4dd8df5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM phusion/baseimage:0.9.9 +FROM phusion/baseimage:0.9.15 ENV HOME /root @@ -12,7 +12,7 @@ RUN apt-get install -y vim curl wget build-essential python-software-properties RUN add-apt-repository -y ppa:ondrej/php5 RUN add-apt-repository -y ppa:nginx/stable RUN apt-get update -RUN apt-get install -y php5-cli php5-fpm php5-mysql php5-pgsql php5-sqlite php5-curl\ +RUN apt-get install -y --force-yes php5-cli php5-fpm php5-mysql php5-pgsql php5-sqlite php5-curl\ php5-gd php5-mcrypt php5-intl php5-imap php5-tidy RUN sed -i "s/;date.timezone =.*/date.timezone = UTC/" /etc/php5/fpm/php.ini @@ -23,8 +23,8 @@ RUN apt-get install -y nginx RUN echo "daemon off;" >> /etc/nginx/nginx.conf RUN sed -i -e "s/;daemonize\s*=\s*yes/daemonize = no/g" /etc/php5/fpm/php-fpm.conf RUN sed -i "s/;cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/" /etc/php5/fpm/php.ini - -RUN mkdir /var/www + +RUN mkdir -p /var/www ADD build/default /etc/nginx/sites-available/default RUN mkdir /etc/service/nginx ADD build/nginx.sh /etc/service/nginx/run