Skip to content

Commit

Permalink
fix broken build by ditching Java 8 package minor version number (fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vorburger committed Dec 6, 2018
1 parent 02c6d34 commit b57b0df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion java/images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ config:
description: "CentOS S2I Java builder image with OpenJDK 8"
version:
javaMajor: "1.8.0"
java: "-1.8.0.181-3.b13.el7_5"
java: "" # empty means latest
maven: "3.5.4"
jolokia: "1.6.0"
jmxexporter: "0.3.1"
Expand Down
4 changes: 2 additions & 2 deletions java/images/centos/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ USER root
# Install Java package & download Maven from Apache
RUN yum install -y --setopt=skip_missing_names_on_install=False \
unzip \
java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5 \
java-1.8.0-openjdk-devel-1.8.0.181-3.b13.el7_5 \
java-1.8.0-openjdk \
java-1.8.0-openjdk-devel \
&& curl https://archive.apache.org/dist/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz | \
tar -xzf - -C /opt \
&& ln -s /opt/apache-maven-3.5.4 /opt/maven \
Expand Down

0 comments on commit b57b0df

Please sign in to comment.