Skip to content

Commit

Permalink
Explicitly require Java timezone data dependency (#7675)
Browse files Browse the repository at this point in the history
  • Loading branch information
zrhoffman authored Jul 26, 2023
1 parent bcd80b7 commit 55d8070
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion infrastructure/cdn-in-a-box/traffic_router/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ RUN dnf -y install epel-release && \

perl-JSON perl-WWW-Curl which make autoconf automake gcc gcc-c++ apr apr-devel \
openssl openssl-devel bind-utils net-tools perl-JSON-PP gettext \
java-11-openjdk-headless java-11-openjdk-devel tomcat-native && \
java-11-openjdk-headless tzdata-java java-11-openjdk-devel tomcat-native && \
dnf -y clean all && \
ln -sfv $(realpath /usr/lib/jvm/java-11) /opt/java

Expand Down
2 changes: 2 additions & 0 deletions infrastructure/docker/build/Dockerfile-traffic_router
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ RUN yum -y install \
which \
curl \
java-11-openjdk \
# necessary in case tzdata-java is not already installed as a dependency of java-11-openjdk-headless
tzdata-java \
java-11-openjdk-devel && \
yum -y clean all

Expand Down
1 change: 1 addition & 0 deletions traffic_router/build/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@
</mappings>
<requires>
<require>java-11-openjdk-headless</require>
<require>tzdata-java</require>
<require>tomcat >= ${env.TOMCAT_VERSION}.${env.TOMCAT_RELEASE}</require>
<require>apr >= 1.4.8</require>
<require>tomcat-native >= 1.2.23</require>
Expand Down

0 comments on commit 55d8070

Please sign in to comment.