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
2 changes: 1 addition & 1 deletion docker/development/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM golang:bullseye AS go
RUN GOBIN=/usr/bin go install github.com/go-task/task/v3/cmd/task@v3.43.3

# This is the docker for restarters. It's used from docker-compose.
FROM php:8.2-fpm
FROM php:8.2.35-fpm

# Install dependencies
RUN apt-get update && \
Expand Down
8 changes: 6 additions & 2 deletions docker/production/Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RUN GOBIN=/usr/bin go install github.com/go-task/task/v3/cmd/task@v3.43.3

# Multi-stage build for Restarters production image
# Build stage
FROM php:8.2-fpm AS builder
FROM php:8.2.35-fpm AS builder

# Install build dependencies in a single layer with cleanup
RUN apt-get update && \
Expand Down Expand Up @@ -60,7 +60,7 @@ RUN php artisan lang:js --no-lib resources/js/translations.js && \
rm -rf node_modules

# Production stage
FROM php:8.2-fpm AS production
FROM php:8.2.35-fpm AS production

# Install minimal runtime dependencies
RUN apt-get update && \
Expand Down Expand Up @@ -88,6 +88,10 @@ RUN install-php-extensions pdo_mysql pcntl bcmath zip xmlrpc intl gd && \
# -----------------------------------------------------------
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"

# Laravel doesn't use native PHP sessions, so upload progress tracking is
# unused. Disabled as defense in depth for CVE-2026-109619.
RUN echo "session.upload_progress.enabled=0" > "$PHP_INI_DIR/conf.d/zz-security.ini"

# Set working directory
WORKDIR /var/www

Expand Down
Loading