Dockerfile/java:oracle-java7 repo not found issue

I was building a java 7 docker image till yesterday successully inside aws elastic beanstalk environment. Today onwards, i am getting this error message, when i upload the archive into EBS.

(ElasticBeanstalk::ExternalInvocationError)
caused by: Pulling repository dockerfile/java
time=“2015-05-06T08:46:09Z” level=“fatal” msg=“Error: image dockerfile/java:oracle-java7 not found”

I also some announcemnt about dockerfile based repos being migrated. Can anyone give me some pointers in this regard.

1 Like

Same here with java:oracle-java8. If you check "registry.hub.docker.com " you’ll find that the whole java repository seems corrupted or missing! Hopefully, somebody will solve it soon because all my current Dockerfiles are based on it…

Hi,

If you were using the dockerfile repos these are/have been migrated. See: http://blog.docker.com/2015/03/updates-available-to-popular-repos-update-your-images/

The official java repo is: https://registry.hub.docker.com/_/java/ - Because of Oracle’s licensing we cannot provide the Oracle based builds.

If you need Oracle’s version you can build your own base image. Something like: https://gist.github.com/kizbitz/9a548c331370228a4df3

2 Likes

Note:

If you decide to create your own Oracle based image you’ll need to keep the image private. (You can’t share it with people who haven’t accepted Oracle’s license)