mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-24 14:31:51 +01:00
add revive
This commit is contained in:
31
revive/Dockerfile
Normal file
31
revive/Dockerfile
Normal file
@@ -0,0 +1,31 @@
|
||||
#
|
||||
# Dockerfile for revive
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
|
||||
WORKDIR /var/www/html
|
||||
|
||||
RUN apk add -U git \
|
||||
gzip \
|
||||
nginx \
|
||||
php-apcu \
|
||||
php-curl \
|
||||
php-fpm \
|
||||
php-gd \
|
||||
php-mysql \
|
||||
php-openssl \
|
||||
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;'
|
||||
Reference in New Issue
Block a user