From 2cc13b7190f4e463c64ad12327f4c79abee20373 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Wed, 21 Oct 2026 12:47:03 +0200 Subject: [PATCH] ensure the php command points to PHP 8.4 Alpine 3.24 no longer provides the unversioned php command with PHP 8.4. Create the symlink explicitly so Composer and runtime scripts can find PHP. Replace any existing link to keep this compatible with Alpine 3.23. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index adf9e062..8fb3bcf0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -56,6 +56,7 @@ RUN apk --no-cache add \ tzdata \ cyrus-sasl \ cyrus-sasl-login \ + && ln -sf /usr/bin/php84 /usr/bin/php \ && cp /etc/postfix/master.cf /etc/postfix/master.cf.orig \ && cp /etc/postfix/main.cf /etc/postfix/main.cf.orig \ && apk --no-cache add -t build-dependencies \