From 48bd564383301cacc4edbb4f5959a81a7cb6092b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Thu, 7 Mar 2024 14:20:51 +0100 Subject: [PATCH] feat: switch to Debian instead of Alpine --- Dockerfile | 16 ++++++++-------- frankenphp/conf.d/app.ini | 1 - 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index c19deb6..b908088 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ - acl \ - file \ - gettext \ - git \ - ; +# 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 \ diff --git a/frankenphp/conf.d/app.ini b/frankenphp/conf.d/app.ini index 501fa84..79a17dd 100644 --- a/frankenphp/conf.d/app.ini +++ b/frankenphp/conf.d/app.ini @@ -1,4 +1,3 @@ -variables_order = EGPCS expose_php = 0 date.timezone = UTC apc.enable_cli = 1