1
0

php7 ready

This commit is contained in:
Ansgar Schmidt 2016-10-22 23:04:40 +02:00 committed by GitHub
parent adacce4ba1
commit 1a92f206f7

View File

@ -1,12 +1,12 @@
FROM ubuntu
FROM ubuntu:16.10
MAINTAINER Christian Lück <christian@lueck.tv>
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y \
nginx supervisor php5-fpm php5-cli php5-curl php5-gd php5-json \
php5-pgsql php5-mysql php5-mcrypt && apt-get clean && rm -rf /var/lib/apt/lists/*
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get upgrade -y && apt-get install -y \
nginx supervisor php-fpm php-cli php-curl php-gd php-json \
php-pgsql php-mysql php-mcrypt && apt-get clean && rm -rf /var/lib/apt/lists/*
# enable the mcrypt module
RUN php5enmod mcrypt
RUN phpenmod mcrypt
# add ttrss as the only nginx site
ADD ttrss.nginx.conf /etc/nginx/sites-available/ttrss