Revert "Upgraded to buster. Added backports."

PHP5 is not available for buster.

This reverts commit 4f296c2549.
This commit is contained in:
yohan 2019-11-11 14:30:16 +01:00
parent 4f296c2549
commit f533a39b96

View File

@ -1,8 +1,7 @@
FROM debian:buster
FROM debian:jessie
MAINTAINER yohan <783b8c87@scimetis.net>
ENV DEBIAN_FRONTEND noninteractive
RUN echo "deb http://deb.debian.org/debian buster-backports main contrib non-free" >> /etc/apt/sources.list
RUN apt update && apt -y install php5-fpm php5-gd php5-mysql
RUN apt-get update && apt-get -y install php5-fpm php5-gd php5-mysql
COPY php-fpm.conf /etc/php5/fpm/
ENTRYPOINT ["/usr/sbin/php5-fpm", "-F", "--force-stderr", "--fpm-config", "/etc/php5/fpm/php-fpm.conf"]
#ENTRYPOINT ["/bin/bash"]