File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,14 +4,14 @@ RUN apt-get update && apt-get install -y curl wget zip
44
55RUN ARCH=$(dpkg --print-architecture) && \
66 if [ "$ARCH" = "amd64" ]; then \
7- wget -O jre.zip https://builds.openlogic.com/downloadJDK/openlogic-openjdk/21.0.8+9/openlogic-openjdk-21.0.8+9-linux-x64.zip ; \
7+ wget -O jre.tar.gz https://builds.openlogic.com/downloadJDK/openlogic-openjdk/21.0.8+9/openlogic-openjdk-21.0.8+9-linux-x64.tar.gz ; \
88 elif [ "$ARCH" = "arm64" ]; then \
99 wget -O jre.zip https://builds.openlogic.com/downloadJDK/openlogic-openjdk/21.0.8+9/openlogic-openjdk-21.0.8+9-mac-x64.zip; \
1010 else \
1111 echo "Unsupported architecture: $ARCH" && exit 1; \
1212 fi
13- RUN unzip jre.zip
14- RUN mv jdk- openlogic-openjdk-21.0.8+9-linux-x64 jre || mv openlogic-openjdk-21.0.8+9-mac-x64/jdk-21.0.8.jdk jre
13+ RUN unzip jre.zip || tar xvfz jre.tar.gz
14+ RUN mv openlogic-openjdk-21.0.8+9-linux-x64 jre || mv openlogic-openjdk-21.0.8+9-mac-x64/jdk-21.0.8.jdk jre
1515ADD ./cli ./cli
1616ADD ./core ./core
1717ADD ./plugin-interface ./plugin-interface
You can’t perform that action at this time.
0 commit comments