diff --git a/Dockerfile b/Dockerfile index 55df04e..f4fb823 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,7 +30,7 @@ # # downloading gradle every time which takes ALOT and allows for caching # RUN gradle war -FROM tomcat:9-jdk21@sha256:f7c4623aa616f46473003b325246befcc5fe7120b39b07c977dd44057bbdc306 +FROM tomcat:10-jdk21@sha256:077388ab6bf11b4a9565877eb3a39a20c73ca70f21a42a9d82d2348ad3535e1b # If not using multistage: docker file expects the war file to be in the build/libs folder. # if we build it outside we can use github action gradle caching diff --git a/docker/tomcat.Dockerfile b/docker/tomcat.Dockerfile index 73023a6..9133a13 100644 --- a/docker/tomcat.Dockerfile +++ b/docker/tomcat.Dockerfile @@ -1,4 +1,4 @@ -FROM tomcat:9-jdk21@sha256:f7c4623aa616f46473003b325246befcc5fe7120b39b07c977dd44057bbdc306 +FROM tomcat:10-jdk21@sha256:077388ab6bf11b4a9565877eb3a39a20c73ca70f21a42a9d82d2348ad3535e1b RUN adduser tomcat