Skip to content

Commit

Permalink
default to java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
gschueler committed Dec 12, 2024
1 parent 2ae0262 commit bc66ba6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dockers/install/rpm/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM redhat/ubi8
ARG JDK=java-1.8.0-openjdk
ARG JDK=java-11-openjdk
RUN yum -y update
RUN yum -y install ${JDK} ${JDK}-devel which
RUN which java
Expand Down
3 changes: 2 additions & 1 deletion dockers/install/upgrade-rpm/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
FROM redhat/ubi8

ARG JDK=java-11-openjdk
RUN yum -y update
RUN yum -y install java-1.8.0-openjdk java-1.8.0-openjdk-devel which
RUN yum -y install ${JDK} ${JDK}-devel which
RUN which java
RUN curl https://raw.githubusercontent.com/rundeck/packaging/main/scripts/rpm-setup.sh 2> /dev/null | bash -s rundeck
RUN sed -i.bak s/gpgcheck=0/gpgcheck=1/ /etc/yum.repos.d/rundeck.repo
Expand Down

0 comments on commit bc66ba6

Please sign in to comment.