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

docker fails to install java 8 #236

Open
andyk opened this issue May 28, 2019 · 1 comment
Open

docker fails to install java 8 #236

andyk opened this issue May 28, 2019 · 1 comment

Comments

@andyk
Copy link

andyk commented May 28, 2019

When I run make docker on my Macbook Pro (MacOS 10.14.4) I get the following error:

Step 21/29 : RUN /bin/bash install_java.sh
 ---> Running in 27d98d548db4

... some gpg output...

gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK
Hit http://security.ubuntu.com trusty-security InRelease
Get:1 http://ppa.launchpad.net trusty InRelease [15.5 kB]

... (deleting to keep output small)

Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages
Fetched 15.5 kB in 3s (4044 B/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package oracle-java8-installer
The command '/bin/sh -c /bin/bash install_java.sh' returned a non-zero code: 100
make: *** [docker] Error 100```

I suspect this is because the PPA that is used is no longer supported per https://launchpad.net/~webupd8team/+archive/ubuntu/java -- due to Oracle JDK license changes.

I'm curious if just swapping the OpenJDK in will work?

@dmichelin
Copy link
Contributor

Thanks for pointing this out. I'm going to try using openjdk, I don't think we're using any of the oracle jdk specific features.

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

No branches or pull requests

2 participants