Skip to content

Commit cad5d6c

Browse files
committed
fix(docker): Downgrade PHP from 8.5 to 8.3 for stable extension builds
PHP 8.5 is not officially released and causes docker-php-ext-install to fail with "cp: can't stat 'modules/*'" error. Reverts to PHP 8.3 which is the current stable LTS release.
1 parent cd5fc2c commit cad5d6c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • cloudformation/scenarios/localgov-drupal/docker

cloudformation/scenarios/localgov-drupal/docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# =============================================================================
88
# Stage 1: Builder - Install Composer dependencies
99
# =============================================================================
10-
FROM php:8.5-fpm-alpine AS builder
10+
FROM php:8.3-fpm-alpine AS builder
1111

1212
# Install build dependencies
1313
RUN apk add --no-cache \
@@ -62,7 +62,7 @@ RUN mkdir -p /var/www/drupal/web/libraries/dropzone \
6262
# =============================================================================
6363
# Stage 2: Runtime - Minimal production image
6464
# =============================================================================
65-
FROM php:8.5-fpm-alpine AS runtime
65+
FROM php:8.3-fpm-alpine AS runtime
6666

6767
# Install runtime dependencies
6868
RUN apk add --no-cache \

0 commit comments

Comments
 (0)