2015-09-21 12:24:21 +02:00
|
|
|
#
|
|
|
|
# Dockerfile for revive
|
|
|
|
#
|
|
|
|
|
|
|
|
FROM alpine
|
2016-05-01 03:06:20 +02:00
|
|
|
MAINTAINER kev <noreply@easypi.info>
|
2015-09-21 12:24:21 +02:00
|
|
|
|
|
|
|
WORKDIR /var/www/html
|
|
|
|
|
2015-09-21 12:46:41 +02:00
|
|
|
RUN apk add -U gzip \
|
2015-09-21 12:24:21 +02:00
|
|
|
nginx \
|
|
|
|
php-curl \
|
|
|
|
php-fpm \
|
|
|
|
php-gd \
|
2015-09-24 03:39:38 +02:00
|
|
|
php-json \
|
2015-09-21 12:24:21 +02:00
|
|
|
php-mysql \
|
2015-09-21 12:46:41 +02:00
|
|
|
php-opcache \
|
2015-09-21 12:24:21 +02:00
|
|
|
php-openssl \
|
2015-09-21 12:46:41 +02:00
|
|
|
php-pgsql \
|
2015-09-21 12:24:21 +02:00
|
|
|
php-phar \
|
|
|
|
php-xml \
|
|
|
|
php-zlib \
|
|
|
|
tar \
|
|
|
|
&& wget -O- http://download.revive-adserver.com/revive-adserver-3.2.1.tar.gz | tar xz --strip 1 \
|
|
|
|
&& chown -R nobody:nobody . \
|
|
|
|
&& rm -rf /var/cache/apk/*
|
|
|
|
|
|
|
|
COPY nginx.conf /etc/nginx/nginx.conf
|
|
|
|
|
|
|
|
EXPOSE 80
|
|
|
|
|
|
|
|
CMD php-fpm && nginx -g 'daemon off;'
|