From f819494185e6fcefd8063151472ecb854466488a Mon Sep 17 00:00:00 2001 From: Tero Laakso Date: Wed, 20 Nov 2024 12:26:27 +0200 Subject: [PATCH] Remove some nginx modules This is to remove dependency to libxml2 and its vulnerabilities --- frontend/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 008c3ec248b..dc0caad0eb1 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -62,7 +62,7 @@ ARG S3_DOWNLOADER_SHA256="520ea232e83a7cefe2a87d4f2af8433e383a4351464e213b7dd3b7 RUN apt-get update \ && apt-get -y dist-upgrade \ - && apt-get remove --auto-remove -y nginx-module-image-filter \ + && apt-get remove --auto-remove -y nginx-module-image-filter nginx-module-njs nginx-module-xslt \ && curl -sSfL "https://github.com/hairyhenderson/gomplate/releases/download/${GOMPLATE_VERSION}/gomplate_linux-amd64" \ -o /bin/gomplate \ && chmod +x /bin/gomplate \