From 0ef65e562eff75a335131603c1d5d27cf3e279cd Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 3 Aug 2023 00:10:55 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN10-APACHE2-1301212 - https://snyk.io/vuln/SNYK-DEBIAN10-APACHE2-1585740 - https://snyk.io/vuln/SNYK-DEBIAN10-APACHE2-2322058 - https://snyk.io/vuln/SNYK-DEBIAN10-APACHE2-2863498 - https://snyk.io/vuln/SNYK-DEBIAN10-APACHE2-3232711 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ff51de490..245216822 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM php:7.2-apache +FROM php:7.4.25-apache RUN apt-get update && apt-get -y install apt-utils nano libyaml-dev RUN docker-php-ext-install gettext RUN pecl channel-update pecl.php.net && pecl install yaml-2.0.0 && docker-php-ext-enable yaml