Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/dev-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
with:
context: .
file: ./Dockerfile
pull: true
push: true
platforms: linux/amd64
build-args: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/prod-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ jobs:
with:
context: .
file: ./Dockerfile
pull: true
push: true
platforms: linux/amd64
build-args: |
Expand Down
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ FROM composer:${COMPOSER_VERSION} AS composer
# =============================================================================
# Main Application Stage
# =============================================================================
FROM dunglas/frankenphp:1-php8.4-bookworm
FROM dunglas/frankenphp:1.13.2-php8.4-bookworm

# Security guard: fail the build if the base image ships a PHP older than the
# version fixed for CERT-EU advisory 2026-018 (CVE-2026-109618 / CVE-2026-109619)
RUN php -r 'exit(version_compare(PHP_VERSION, "8.4.27", ">=") ? 0 : 1);'

# Build arguments
ARG WWWUSER=1000
Expand Down
4 changes: 4 additions & 0 deletions docker/8.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ RUN apt-get update \

RUN setcap "cap_net_bind_service=+ep" /usr/bin/php8.4

# Security guard: fail the build if PHP is older than the
# version fixed for CERT-EU advisory 2026-018 (CVE-2026-109618 / CVE-2026-109619)
RUN php -r 'exit(version_compare(PHP_VERSION, "8.4.27", ">=") ? 0 : 1);'

RUN groupadd --force -g $WWWGROUP sail
RUN useradd -ms /bin/bash --no-user-group -g $WWWGROUP -u 1337 sail

Expand Down
Loading
Loading