From 2182732893ecf24ca652168e82fea2b7e2987436 Mon Sep 17 00:00:00 2001 From: RichardPeltonen Date: Tue, 17 Dec 2024 10:57:42 +0200 Subject: [PATCH] Fix CVE-2024-9681 --- api-gateway/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api-gateway/Dockerfile b/api-gateway/Dockerfile index 10682c67..09c20d18 100644 --- a/api-gateway/Dockerfile +++ b/api-gateway/Dockerfile @@ -31,7 +31,8 @@ RUN apt-get update \ && apt-get -y install curl \ && curl -sSfL https://github.com/espoon-voltti/s3-downloader/releases/download/v1.4.1/s3downloader-linux-amd64 \ -o /bin/s3download \ - && chmod +x /bin/s3download + && chmod +x /bin/s3download \ + && apt-get remove --auto-remove -y curl ARG build=none ARG commit=none