diff --git a/Dockerfile b/Dockerfile index 29cadab..835ff19 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,7 +29,7 @@ # # downloading gradle every time which takes ALOT and allows for caching # RUN gradle war -FROM tomcat:9-jdk21@sha256:701bdd15e1cf25451056932397b582681e5c2afbd5a4bd540835b47e0a31a4c3 +FROM tomcat:10-jdk21@sha256:5d684f2df6a4223ffcf957e8eca27eb3c2665a53f51320d650c05e5ab95120ae # 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 9f28607..7b19239 100644 --- a/docker/tomcat.Dockerfile +++ b/docker/tomcat.Dockerfile @@ -1,7 +1,7 @@ # OLD DOCKERFILE # keeping it for reference # this was meant to be used for development purposes -FROM tomcat:9-jdk21@sha256:701bdd15e1cf25451056932397b582681e5c2afbd5a4bd540835b47e0a31a4c3 +FROM tomcat:10-jdk21@sha256:5d684f2df6a4223ffcf957e8eca27eb3c2665a53f51320d650c05e5ab95120ae RUN adduser tomcat