Skip to content

docker fails to install java 8  #236

@andyk

Description

@andyk

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions