php-app/app/Dockerfile
2020-09-04 23:31:05 +02:00

51 lines
824 B
Docker

FROM alpine:3.12
LABEL maintainer = "bisco - <bisco@younerd.org>"
RUN addgroup -g 82 www-data &&\
adduser -u 82 -G www-data -g 'World Wide Web user' \
-s /sbin/nologin -D www-data
RUN apk add --update --no-cache \
bash \
php7-bcmath \
php7-bz2 \
php7-cgi \
php7-cli \
php7-common \
php7-curl \
php7-fpm \
php7-gd \
php7-gmp \
php7-intl \
php7-json \
php7-mbstring \
php7-mysqli \
php7-odbc \
php7-opcache \
php7-phpdbg \
php7-pspell \
php7-recode \
php7-snmp \
php7-sqlite3 \
php7-tidy \
php7-xml \
php7-xmlrpc \
php7-xsl \
php7-zip \
php7-pecl-apcu \
php7-common \
php7-pecl-igbinary \
php7-pecl-imagick \
php7-pecl-memcached \
php7-pecl-memcache \
php7-pecl-msgpack
ADD docker-entrypoint.sh /
EXPOSE 9000
STOPSIGNAL SIGTERM
ENTRYPOINT ["/docker-entrypoint.sh"]