php-fpm debian image

This commit is contained in:
2022-03-13 12:25:40 +01:00
parent 785c24e32f
commit e3e8308416
2 changed files with 8 additions and 11 deletions

View File

@@ -1,5 +1,6 @@
FROM cr.lan/debian-stable
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y \
dnsutils procps nmap bash iputils-ping bash openssl \
php-fpm php-zip php-sqlite3 php-pgsql php-mysqli php-json php-readline \
@@ -7,8 +8,11 @@ RUN apt-get update && apt-get install -y \
php-bz2 php-mbstring php-memcache php-redis
#cleanup
RUN apt-get clean -y && \
rm -rf /var/lib/apt/lists/* && \
RUN apt-get remove -y --purge man-db ;\
apt-get autoremove -y --purge ;\
apt-get clean -y ;\
rm -rf /var/lib/apt/lists/* ;\
rm -rf /var/cache/apt/*
ADD docker-entrypoint.sh /
ENTRYPOINT ["/docker-entrypoint.sh"]