Skip to content

Commit

Permalink
centos: revert java path
Browse files Browse the repository at this point in the history
  • Loading branch information
mpranj committed Mar 10, 2022
1 parent 2eae6f8 commit 2c6c332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/docker/centos/stream8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ RUN useradd \
RUN cd /tmp && wget https://services.gradle.org/distributions/gradle-7.4-bin.zip && unzip gradle-7.4-bin.zip && rm gradle-7.4-bin.zip && mv gradle-7.4 /opt/gradle
RUN alternatives --auto java && alternatives --auto javac
ENV PATH="${PATH}:/opt/gradle/bin" \
JAVA_HOME="/usr/lib/jvm/java"
JAVA_HOME="/etc/alternatives/jre"

USER ${JENKINS_USERID}

Expand Down

0 comments on commit 2c6c332

Please sign in to comment.