From ca60088df14ec757b950abd8c50041e2634be806 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 21 Feb 2024 04:32:01 +0000 Subject: [PATCH] fix: todolist-goof/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN9-CURL-466505 - https://snyk.io/vuln/SNYK-DEBIAN9-FREETYPE-1019584 - https://snyk.io/vuln/SNYK-DEBIAN9-GLIBC-356506 - https://snyk.io/vuln/SNYK-DEBIAN9-GLIBC-356506 - https://snyk.io/vuln/SNYK-DEBIAN9-GLIBC-356506 --- todolist-goof/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/todolist-goof/Dockerfile b/todolist-goof/Dockerfile index 1b8530f61d..7bf33b1d8e 100644 --- a/todolist-goof/Dockerfile +++ b/todolist-goof/Dockerfile @@ -10,7 +10,7 @@ COPY todolist-web-common todolist-web-common COPY todolist-web-struts todolist-web-struts RUN --mount=target=$HOME/.m2,type=cache mvn install -FROM tomcat:9.0.0 +FROM tomcat:9.0 RUN mkdir /tmp/extracted_files COPY web.xml /usr/local/tomcat/conf/web.xml COPY --from=build /usr/src/goof/todolist-web-struts/target/todolist /usr/local/tomcat/webapps/todolist