Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java8: Update the broken links and commands #7

Open
wants to merge 1 commit into
base: java8
Choose a base branch
from

Conversation

YOUNAVI
Copy link

@YOUNAVI YOUNAVI commented Jan 22, 2025

When I tried to build the docker image of jdk8 from this, I found it a bit old and it includes some broken stuff like link or command. And I seek about for a new link like mirror or other substitute but I couldn't.
Finally, I made it up and actually I got the jdk8 for linux.tar.gz file for myself from the official ORACLE page since the curl link has been broken.

Here's what I changed:

  1. "FROM ubuntu:lastest" -> "From ubuntu:focal-20241011" (from https://hub.docker.com/_/ubuntu/tags?name=focal)
  2. add "COPY jdk8.tar.gz /" and you should get your jdk tar gz from the official ORACLE Page (https://www.oracle.com/kr/java/technologies/javase/javase8-archive-downloads.html).
  3. delete "curl ...GeoTrust_Global_CA.pem ... http://download.oracle.com/"-linux-x64.tar.gz " which is not available anymore.
  4. fix "tar xz -C /tmp" with "tar -xz -C /tmp -f jdk8.tar.gz" because you need to specify the file.

If you are still interesting in this traditional system, please read this and consider my log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant