Skip to content

Commit

Permalink
Merge pull request #130 from docker/5.0.0_20240124_rocky8_multiarch
Browse files Browse the repository at this point in the history
update tomcat to 10.1.18 and re-base image from Rocky 8.9
  • Loading branch information
pcaskey authored Jan 24, 2024
2 parents 0466361 + b3bb277 commit d789533
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
FROM --platform=$TARGETPLATFORM rockylinux:8.8
FROM --platform=$TARGETPLATFORM rockylinux:8.9

########################
### VERSION SETTINGS ###
########################
#
##tomcat \
ENV TOMCAT_MAJOR=10 \
TOMCAT_VERSION=10.1.17 \
TOMCAT_VERSION=10.1.18 \
##shib-idp \
VERSION=5.0.0 \
##TIER \
TIERVERSION=20231218_rocky8_multiarch \
TIERVERSION=20240124_rocky8_multiarch \
#################### \
#### OTHER VARS #### \
#################### \
Expand Down Expand Up @@ -104,7 +104,7 @@ RUN mkdir -p /tmp/shibboleth && cd /tmp/shibboleth && \
RUN mkdir -p "$CATALINA_HOME" && set -x \
&& curl -s -o $CATALINA_HOME/tomcat.tar.gz "$TOMCAT_TGZ_URL" \
&& curl -s -o $CATALINA_HOME/tomcat.tar.gz.asc "$TOMCAT_TGZ_URL.asc" \
&& curl -s -L -o $CATALINA_HOME/KEYS "https://www.apache.org/dist/tomcat/tomcat-$TOMCAT_MAJOR/KEYS" \
&& curl -s -L -o $CATALINA_HOME/KEYS "https://downloads.apache.org/tomcat/tomcat-$TOMCAT_MAJOR/KEYS" \
&& gpg --import $CATALINA_HOME/KEYS \
&& gpg $CATALINA_HOME/tomcat.tar.gz.asc \
&& gpg --batch --verify $CATALINA_HOME/tomcat.tar.gz.asc $CATALINA_HOME/tomcat.tar.gz \
Expand All @@ -125,9 +125,10 @@ ADD container_files/tomcat/jakarta.servlet.jsp.jstl-2.0.0.jar /usr/local/tomcat/
ADD container_files/tomcat/jakarta.servlet.jsp.jstl-api-2.0.0.jar /usr/local/tomcat/lib/

#use log4j for tomcat logging
ADD https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-core/2.18.0/log4j-core-2.18.0.jar /usr/local/tomcat/bin/
ADD https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-api/2.18.0/log4j-api-2.18.0.jar /usr/local/tomcat/bin/
ADD https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-jul/2.18.0/log4j-jul-2.18.0.jar /usr/local/tomcat/bin/
# from https://repo1.maven.org/maven2/org/apache/logging/log4j/
ADD container_files/tomcat/log4j-core-2.18.0.jar /usr/local/tomcat/bin/
ADD container_files/tomcat/log4j-api-2.18.0.jar /usr/local/tomcat/bin/
ADD container_files/tomcat/log4j-jul-2.18.0.jar /usr/local/tomcat/bin/

RUN cd /usr/local/tomcat/; \
chmod +r bin/log4j-*.jar;
Expand Down
Binary file added container_files/tomcat/log4j-api-2.18.0.jar
Binary file not shown.
Binary file added container_files/tomcat/log4j-core-2.18.0.jar
Binary file not shown.
Binary file added container_files/tomcat/log4j-jul-2.18.0.jar
Binary file not shown.

0 comments on commit d789533

Please sign in to comment.