Skip to content
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

404 not found for jdk download in Dockerfiles #831

Closed
glorysdj opened this issue Apr 15, 2020 · 6 comments
Closed

404 not found for jdk download in Dockerfiles #831

glorysdj opened this issue Apr 15, 2020 · 6 comments

Comments

@glorysdj
Copy link
Contributor

Step 27 : RUN wget https://build.funtoo.org/distfiles/oracle-java/jdk-8u152-linux-x64.tar.gz && gunzip jdk-8u152-linux-x64.tar.gz && tar -xf jdk-8u152-linux-x64.tar -C /opt && rm jdk-8u152-linux-x64.tar && ln -s /opt/jdk1.8.0_152 /opt/jdk
---> Running in f2f72c6bd848
�[91m--2020-04-15 02:01:52-- https://build.funtoo.org/distfiles/oracle-java/jdk-8u152-linux-x64.tar.gz
�[0m�[91mResolving proxy-chain.intel.com (proxy-chain.intel.com)... �[0m�[91m10.19.8.225
Connecting to proxy-chain.intel.com (proxy-chain.intel.com)|10.19.8.225|:912... �[0m�[91mconnected.
�[0m�[91mProxy request sent, awaiting response... �[0m�[91m404 Not Found
2020-04-15 02:01:53 ERROR 404: Not Found.

�[0mThe command '/bin/sh -c wget https://build.funtoo.org/distfiles/oracle-java/jdk-8u152-linux-x64.tar.gz && gunzip jdk-8u152-linux-x64.tar.gz && tar -xf jdk-8u152-linux-x64.tar -C /opt && rm jdk-8u152-linux-x64.tar && ln -s /opt/jdk1.8.0_152 /opt/jdk' returned a non-zero code: 8
Build step 'Execute shell' marked build as failure.

Need to update the wget method

@glorysdj
Copy link
Contributor Author

no resources at https://build.funtoo.org/distfiles/oracle-java/jdk-8u152-linux-x64.tar.gz any more.
use option --header "Cookie: oraclelicense=accept-securebackup-cookie" to download from oracle
refer to https://gist.github.com/hgomez/9650687

@qiyuangong
Copy link
Contributor

Maybe we can use yum or apt-get for JDK installation.

@glorysdj
Copy link
Contributor Author

Maybe we can use yum or apt-get for JDK installation.

that will install open-jdk, may other issues happen

@glorysdj
Copy link
Contributor Author

fixed

@glorysdj
Copy link
Contributor Author

--header "Cookie: oraclelicense=accept-securebackup-cookie" can not work anymore....

@glorysdj glorysdj reopened this Apr 16, 2020
@glorysdj
Copy link
Contributor Author

fixed again

@liu-shaojun liu-shaojun transferred this issue from intel/BigDL Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants