dockerfiles/stretch_php7/Dockerfile-mysql
Jan Dittberner 5b73173912 Implement support for multiple PHP versions
This commit provides docker images and scripts to support multiple
Debian and PHP releases via containers.
2018-11-11 14:02:05 +01:00

15 lines
417 B
Text

FROM gnuviech/stretch_php7-base:latest
LABEL maintainer="jan@dittberner.info"
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive \
apt-get install -y --no-install-recommends \
php-mysql \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*.*
COPY start-fpm.sh /usr/local/sbin
COPY fpm-pool.conf.tmpl /usr/local/etc
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
CMD ["/usr/local/sbin/start-fpm.sh"]