build: creates base image to speed up build times
This commit is contained in:
16
docker/Dockerfile.base
Normal file
16
docker/Dockerfile.base
Normal 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
|
||||
Reference in New Issue
Block a user