Skip to content

Commit 7ea30df

Browse files
Copy missing 'tools.jar' to Oracle JRE.
1 parent a3d34f8 commit 7ea30df

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ RUN <<-EOT
7171
sudo curl -L --fail "https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252034_8a1589aa0fe24566b4337beee47c2d29" | sudo tar -xvzf - -C /usr/lib/jvm/oracle8 --strip-components 1
7272
EOT
7373

74+
# Copy missing 'tools.jar' to Oracle JRE.
75+
COPY --from=azul/zulu-openjdk:8 /usr/lib/jvm/zulu8/lib/tools.jar /usr/lib/jvm/oracle8/lib/tools.jar
76+
7477
# Install Ubuntu's OpenJDK 17 and fix broken symlinks:
7578
# some files in /usr/lib/jvm/ubuntu17 are symlinks to /etc/java-17-openjdk/, so we just copy all symlinks targets.
7679
RUN <<-EOT

0 commit comments

Comments
 (0)