Skip to content

Commit 974461d

Browse files
committed
Merge pull request #19 from BlackthornYugen/noninteractive-for-apt-get-installs
Added noninteractive for apt-get installs (take 2)
2 parents 7555195 + 24da62a commit 974461d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@ CMD ["/sbin/my_init"]
1313

1414
# Nginx-PHP Installation
1515
RUN apt-get update
16-
RUN apt-get install -y vim curl wget build-essential python-software-properties
16+
RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y vim curl wget build-essential python-software-properties
1717
RUN add-apt-repository -y ppa:ondrej/php5
1818
RUN add-apt-repository -y ppa:nginx/stable
1919
RUN apt-get update
20-
RUN apt-get install -y --force-yes php5-cli php5-fpm php5-mysql php5-pgsql php5-sqlite php5-curl\
20+
RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y --force-yes php5-cli php5-fpm php5-mysql php5-pgsql php5-sqlite php5-curl\
2121
php5-gd php5-mcrypt php5-intl php5-imap php5-tidy
2222

2323
RUN sed -i "s/;date.timezone =.*/date.timezone = UTC/" /etc/php5/fpm/php.ini
2424
RUN sed -i "s/;date.timezone =.*/date.timezone = UTC/" /etc/php5/cli/php.ini
2525

26-
RUN apt-get install -y nginx
26+
RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y nginx
2727

2828
RUN echo "daemon off;" >> /etc/nginx/nginx.conf
2929
RUN sed -i -e "s/;daemonize\s*=\s*yes/daemonize = no/g" /etc/php5/fpm/php-fpm.conf

0 commit comments

Comments
 (0)