From 2f14626d9cb3b133d74d235ce31fa4a26ef07650 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 8 May 2023 22:31:36 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - 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 - https://snyk.io/vuln/SNYK-DEBIAN10-LIBTASN16-3061094 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ff51de490..e02a6e02c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM php:7.2-apache +FROM php:7.4.26-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