-
Notifications
You must be signed in to change notification settings - Fork 512
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
Problem during install java image into docker #27
Comments
I m facing same issue. |
91m/bin/sh: 1: �[0m�[91madd-apt-repository: not found�[0m�[91m |
Yes, it seems the dockerfile/java image is not available on docker hub - it is 404'ing |
Now what?! |
I uploaded this image as a base for my java builds. Seems to work. https://hub.docker.com/r/cogniteev/oracle-java/~/dockerfile/ |
@dhesson long story short, Oracle does not want the images there, so chances are your image will be taken down in the near future. Seems they do not want Oracle java to be distributed through any channels other than their own. Also I believe there is some feelings about that license acceptance that has to happen before java is installed. The official java image repo (https://hub.docker.com/_/java/) also some explanation on this. A work-a-round is to start up your own private registry, and host your base image in that for your builds. I have no idea where that leaves you with regards to Oracle (legally speaking). |
@demaniak this has been now deprecated, so which is the solution? |
@loretoparisi you mean this? I would suggest it is possible to role your own image, maybe using this as a guide. I would also suggest you then host that image in your own private repository. Hope that helps, good luck! |
@demaniak thanks the issue was the old docker files of java, it's as simple as |
I am having below issue during installation of java image in docker ? I want solution to resolve the same?
Sending build context to Docker daemon 99.33 kB
Step 1 : FROM dockerfile/java:oracle-java8
Pulling repository docker.io/dockerfile/java
Error: image dockerfile/java not found
The text was updated successfully, but these errors were encountered: