From 58ca354d16ec64b07882cd648ba9efee3c8fe7ac Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 20 May 2023 00:11:26 +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-1585740 - https://snyk.io/vuln/SNYK-DEBIAN10-APACHE2-2322058 --- 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