This commit is contained in:
Stephane Nicoll
2022-04-19 16:28:22 +02:00
parent 8f8917c6e9
commit d3fc55b06b
2 changed files with 2 additions and 2 deletions

View File

@@ -5,4 +5,4 @@ ADD get-jdk-url.sh /get-jdk-url.sh
RUN ./setup.sh java17
ENV JAVA_HOME /opt/openjdk
ENV PATH $JAVA_HOME/bin:$PATH
ENV PATH $JAVA_HOME/bin:$PATH

View File

@@ -25,4 +25,4 @@ mkdir -p /opt/openjdk
cd /opt/openjdk
curl -L ${JDK_URL} | tar zx --strip-components=1
test -f /opt/openjdk/bin/java
test -f /opt/openjdk/bin/javac
test -f /opt/openjdk/bin/javac