![]() ![]() Sed -i 's|PARTNER_URL=|PARTNER_URL=|' oracle-java8-installer.* Sed -i 's|JAVA_VERSION=8u151|JAVA_VERSION=8u162|' oracle-java8-installer.* Run these commands: apt-get -y install oracle-java8-installer || true Re to donhector's response and your question: you need to replace the strings in the installer file, instead of yours last command: apt-get install -y -force-yes oracle-java8-installer I have found many similar issues described online, but none of the proposed solutions worked for me. The command '/bin/sh -c apt-get install -y -force-yes oracle-java8-installer' returned a non-zero code: 100 Subprocess installed post-installation script returned error exit status 1Įrrors were encountered while processing:Į: Sub-process /usr/bin/dpkg returned an error code (1) 404 Not Foundĭpkg: error processing package oracle-java8-installer (-configure): RUN apt-get install -y -force-yes oracle-java8-installer RUN echo "debconf shared/accepted-oracle-license-v1-1 select true" | /usr/bin/debconf-set-selections RUN apt-key adv -keyserver hkp://:80 -recv-keys EEA14886 RUN echo "deb-src trusty main" > /etc/apt//webupd8team-java.list ![]() RUN echo "deb trusty main" > /etc/apt//webupd8team-java.list The following is my Dockerfile: FROM debian:jessie I am trying to install java 8 through oracle-java8-installer on a debian:jessie docker container.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |