From 7da10e26c2d553434b4447249378f708343b0f20 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 29 Mar 2024 18:14:48 +0000 Subject: [PATCH] fix: todolist-goof/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN9-ELFUTILS-322420 - 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..1d9f687351 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.87 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