summaryrefslogtreecommitdiff
path: root/.docker
diff options
context:
space:
mode:
Diffstat (limited to '.docker')
-rw-r--r--.docker/app/Dockerfile7
1 files changed, 6 insertions, 1 deletions
diff --git a/.docker/app/Dockerfile b/.docker/app/Dockerfile
index 35b47646b..4269f0b17 100644
--- a/.docker/app/Dockerfile
+++ b/.docker/app/Dockerfile
@@ -1,11 +1,16 @@
ARG PROXY_REGISTRY
+
FROM ${PROXY_REGISTRY}alpine:3.20
EXPOSE 9000/tcp
+ARG ALPINE_MIRROR
+
ENV SCRIPT_ROOT=/opt/tt-rss
ENV SRC_DIR=/src/tt-rss/
-RUN apk add --no-cache dcron php83 php83-fpm php83-phar php83-sockets php83-pecl-apcu \
+RUN [ ! -z ${ALPINE_MIRROR} ] && \
+ sed -i.bak "s#dl-cdn.alpinelinux.org#${ALPINE_MIRROR}#" /etc/apk/repositories && \
+ apk add --no-cache dcron php83 php83-fpm php83-phar php83-sockets php83-pecl-apcu \
php83-pdo php83-gd php83-pgsql php83-pdo_pgsql php83-xmlwriter php83-opcache \
php83-mbstring php83-intl php83-xml php83-curl php83-simplexml \
php83-session php83-tokenizer php83-dom php83-fileinfo php83-ctype \