Add support for the newer Ubuntu.
- update PHP to version 7
- update supervisor config accordingly
- update nginx config accordingly
This commit is contained in:
+5
-3
@@ -2,11 +2,13 @@ FROM ubuntu
|
||||
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/*
|
||||
nginx supervisor php-fpm php-cli php-curl php-gd php-json \
|
||||
php-pgsql php-mysql php-mcrypt php-mbstring php-xml && apt-get clean && rm -rf /var/lib/apt/lists/* && \
|
||||
phpenmod mcrypt && mkdir /run/php
|
||||
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user