Skip to content

Commit

Permalink
Update the package from the based image
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed May 13, 2022
1 parent 61acad1 commit 3b19261
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
FROM mapfish_print_builder AS builder



FROM tomcat:9.0-jdk17-openjdk-slim-bullseye AS runner
FROM tomcat:9.0-jdk11-openjdk-slim-bullseye 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 && \
Expand All @@ -18,6 +17,7 @@ RUN mkdir --parent /usr/local/tomcat/conf/Catalina /usr/local/tomcat/work/Catali

RUN \
apt-get update && \
apt-get upgrade --assume-yes && \
apt-get install --assume-yes --no-install-recommends curl \
fonts-liberation fonts-dejavu fontconfig && \
apt-get clean && \
Expand Down

0 comments on commit 3b19261

Please sign in to comment.