feat: switch to Debian instead of Alpine

This commit is contained in:
Kévin Dunglas 2024-03-07 14:20:51 +01:00
parent 1f1346f978
commit 48bd564383
2 changed files with 8 additions and 9 deletions

View File

@ -1,7 +1,7 @@
#syntax=docker/dockerfile:1.4
# Versions
FROM dunglas/frankenphp:1-alpine AS frankenphp_upstream
FROM dunglas/frankenphp:1-php8.3 AS frankenphp_upstream
# The different stages of this Dockerfile are meant to be built into separate images
# https://docs.docker.com/develop/develop-images/multistage-build/#stop-at-a-specific-build-stage
@ -14,13 +14,13 @@ FROM frankenphp_upstream AS frankenphp_base
WORKDIR /app
# persistent / runtime deps
# hadolint ignore=DL3018
RUN apk add --no-cache \
# hadolint ignore=DL3008
RUN apt-get update && apt-get install -y --no-install-recommends \
acl \
file \
gettext \
git \
;
&& rm -rf /var/lib/apt/lists/*
RUN set -eux; \
install-php-extensions \

View File

@ -1,4 +1,3 @@
variables_order = EGPCS
expose_php = 0
date.timezone = UTC
apc.enable_cli = 1