From a389c6b33abfacded4203a924d2194ca4161c87c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 17 Oct 2025 08:43:37 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN13-OPENSSL-13174592 - https://snyk.io/vuln/SNYK-DEBIAN13-OPENSSL-13174602 - https://snyk.io/vuln/SNYK-DEBIAN13-OPENSSL-13174602 - https://snyk.io/vuln/SNYK-DEBIAN13-OPENSSL-13174605 - https://snyk.io/vuln/SNYK-DEBIAN13-OPENSSL-13174605 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3c1d086b8c..b5653c20da 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ # # Stage 1: Composer dependencies with PHP extensions -FROM php:8.4-cli AS composer +FROM php:8.5.0RC2-cli AS composer RUN apt-get update && apt-get install -y \ git unzip libpng-dev libjpeg-dev libfreetype6-dev libzip-dev libicu-dev libpq-dev libldap2-dev libbz2-dev libsodium-dev \ @@ -22,7 +22,7 @@ COPY composer.json composer.lock ./ RUN composer install --no-interaction --prefer-dist --optimize-autoloader --verbose # Stage 2: PHP runtime with same extensions -FROM php:8.4-cli +FROM php:8.5.0RC2-cli # Install necessary system dependencies again (clean stage) RUN apt-get update && apt-get install -y \