build: creates base image to speed up build times

This commit is contained in:
2025-09-14 22:10:04 -05:00
parent 7918c260e5
commit aeb706b5af
2 changed files with 23 additions and 0 deletions

16
docker/Dockerfile.base Normal file
View File

@@ -0,0 +1,16 @@
ARG FRANKENPHP_TAG
FROM dunglas/frankenphp:${FRANKENPHP_TAG}
ENV SERVER_NAME=":80"
ENV CADDY_GLOBAL_OPTIONS="auto_https off"
ENV APP_RUNTIME="Runtime\\FrankenPhpSymfony\\Runtime"
RUN install-php-extensions \
pdo_mysql \
gd \
intl \
zip \
opcache && \
apt install -y wget && \
apt clean && apt autoremove