2024-12-13 09:00:45 +00:00
|
|
|
FROM alpine:3.21
|
|
|
|
|
|
|
|
RUN \
|
|
|
|
apk -U upgrade && \
|
2024-12-19 07:52:24 +00:00
|
|
|
apk add tini nginx openssh-server \
|
|
|
|
php84 php84-fpm php84-mbstring php84-curl php84-ctype php84-dom php84-gd php84-json php84-openssl php84-session php84-simplexml php84-xml php84-zip \
|
|
|
|
php84-apcu php84-opcache php84-pecl-yaml \
|
|
|
|
php83 php83-fpm php83-mbstring php83-curl php83-ctype php83-dom php83-gd php83-json php83-openssl php83-session php83-simplexml php83-xml php83-zip \
|
|
|
|
php83-apcu php83-opcache php83-pecl-yaml \
|
|
|
|
php82 php82-fpm php82-mbstring php82-curl php82-ctype php82-dom php82-gd php82-json php82-openssl php82-session php82-simplexml php82-xml php82-zip \
|
|
|
|
php82-apcu php82-opcache php82-pecl-yaml
|
2024-12-13 09:00:45 +00:00
|
|
|
|
|
|
|
COPY rootfs /
|
|
|
|
|
2024-12-13 10:34:16 +00:00
|
|
|
VOLUME [ "/data/www", "/ssh" ]
|
2024-12-13 09:00:45 +00:00
|
|
|
|
|
|
|
ENV \
|
|
|
|
USERNAME=theuser \
|
2024-12-15 08:39:25 +00:00
|
|
|
PHP=none \
|
|
|
|
PUID=1000 \
|
2024-12-15 08:49:12 +00:00
|
|
|
PGID=1000 \
|
|
|
|
TZ=Etc/UTC
|
2024-12-13 09:00:45 +00:00
|
|
|
|
|
|
|
ENTRYPOINT [ "/sbin/tini", "/app/entrypoint.sh" ]
|