Giter Site home page Giter Site logo

Comments (9)

raskolnikov7 avatar raskolnikov7 commented on July 23, 2024

I m facing same issue.

from java.

raskolnikov7 avatar raskolnikov7 commented on July 23, 2024

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.

demaniak avatar demaniak commented on July 23, 2024

Yes, it seems the dockerfile/java image is not available on docker hub - it is 404'ing

from java.

dhesson avatar dhesson commented on July 23, 2024

Now what?!

from java.

dhesson avatar dhesson commented on July 23, 2024

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.

demaniak avatar demaniak commented on July 23, 2024

@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.

loretoparisi avatar loretoparisi commented on July 23, 2024

@demaniak this has been now deprecated, so which is the solution?

from java.

demaniak avatar demaniak commented on July 23, 2024

@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.

loretoparisi avatar loretoparisi commented on July 23, 2024

@demaniak thanks the issue was the old docker files of java, it's as simple as docker pull java

from java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.