From 7457a5dc43c9ec33b76ba3b087c5be6bac63fb36 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 4 Jun 2023 18:37:19 +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-1585736 - https://snyk.io/vuln/SNYK-DEBIAN10-APACHE2-1585740 - https://snyk.io/vuln/SNYK-DEBIAN10-APACHE2-2322058 - https://snyk.io/vuln/SNYK-DEBIAN10-APACHE2-2422336 --- 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