Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a maintained Tomcat Docker image #3374

Merged
merged 4 commits into from
Aug 21, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Use a maintained Tomcat Docker image
sbrunner committed Aug 21, 2024
commit 82842e107f302e4de161b29eb1866a6d4fda48da
2 changes: 1 addition & 1 deletion core/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM mapfish_print_builder AS builder


FROM tomcat:9.0.65-jdk11-openjdk-slim-bullseye AS runner
FROM tomcat:9.0.93-jdk11-temurin-jammy AS runner
LABEL maintainer="Camptocamp <info@camptocamp.com>"

RUN perl -0777 -i -pe 's/(<Valve className="org.apache.catalina.valves.AccessLogValve"[^>]*>)/<Valve className="ch.qos.logback.access.tomcat.LogbackValve" quiet="true"\/>/s' "${CATALINA_HOME}/conf/server.xml" && \