From e5b0665a54c40ea795b4572a1f1bd91bfac11974 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 28 May 2022 19:59:27 +0000 Subject: [PATCH] fix: api/Dockerfile-nginx to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN11-LIBXML2-2806812 - https://snyk.io/vuln/SNYK-DEBIAN11-OPENLDAP-2808413 - https://snyk.io/vuln/SNYK-DEBIAN11-OPENSSL-2807596 - https://snyk.io/vuln/SNYK-DEBIAN11-PCRE2-2808697 - https://snyk.io/vuln/SNYK-DEBIAN11-PCRE2-2808704 --- api/Dockerfile-nginx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/Dockerfile-nginx b/api/Dockerfile-nginx index 52e4a350c..8ca9c5327 100644 --- a/api/Dockerfile-nginx +++ b/api/Dockerfile-nginx @@ -2,7 +2,7 @@ # "nginx" stage # ############################# # depends on the "php" stage above, and with an litle bit of help from https://github.com/shiphp/nginx-env -FROM nginx:latest AS api_platform_nginx +FROM nginx:1.22 AS api_platform_nginx # Due to our config we need a copy of the public folder for serving static content COPY docker/nginx/conf.d/default.conf.template /etc/nginx/templates/default.conf.template