Comments (9)
I m facing same issue.
from java.
91m/bin/sh: 1: �[0m�[91madd-apt-repository: not found�[0m�[91m
�[0mRemoving intermediate container b41d7e7b1c47
The command '/bin/sh -c echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | debconf-set-selections && add-apt-repository -y ppa:webupd8team/java && apt-get update && apt-get install -y oracle-java8-installer && rm -rf /var/lib/apt/lists/* && rm -rf /var/cache/oracle-jdk8-installer' returned a non-zero code: 127
from java.
Yes, it seems the dockerfile/java image is not available on docker hub - it is 404'ing
from java.
Now what?!
from java.
I uploaded this image as a base for my java builds. Seems to work.
https://hub.docker.com/r/cogniteev/oracle-java/~/dockerfile/
from java.
@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).
from java.
@demaniak this has been now deprecated, so which is the solution?
from java.
@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!
from java.
@demaniak thanks the issue was the old docker files of java, it's as simple as docker pull java
from java.
Related Issues (20)
- pull oracle-java7 error
- JAVA_HOME HOT 2
- Consider deleting tar.gz of the JDK after installation HOT 1
- Version tagged releases HOT 1
- java:oracle-java8 not found HOT 8
- dockerfile/java is missing from Docker repo? HOT 1
- docker image
- All the dockerfile images seem to have vanished from hub.docker.com HOT 3
- Ubuntu version HOT 1
- OpenJDK 8 Not available
- bash: javac: command not found HOT 2
- Error: image oracle/serverjre:8 not found HOT 1
- Error: image dockerfile/java:latest not found HOT 3
- user stdin for java docker container at Run time.
- The current install scripts for Oracle Java 8 are broken HOT 5
- Lucky Number program
- Rename oracle-java HOT 2
- Use OpenJDK HOT 11
- Tag `oracle-java8` not found HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java.