diff --git a/Dockerfile b/Dockerfile index 19428ab..cf1c49e 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:8c247ee5bf39eaefcd6c457d468b04f11773e10a2bb0eb47281da9d91f0e4b44 +FROM tomcat:10-jdk21@sha256:f8d4d17b11c6aaea409a26c093fb79a7800b650c50e915783dc5168bb1adbd1a # 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 acafd14..bf0cdaa 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:8c247ee5bf39eaefcd6c457d468b04f11773e10a2bb0eb47281da9d91f0e4b44 +FROM tomcat:10-jdk21@sha256:f8d4d17b11c6aaea409a26c093fb79a7800b650c50e915783dc5168bb1adbd1a RUN adduser tomcat