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

Getting error while trying to run build.sh #9

Open
jmorast opened this issue Oct 6, 2017 · 3 comments
Open

Getting error while trying to run build.sh #9

jmorast opened this issue Oct 6, 2017 · 3 comments

Comments

@jmorast
Copy link
Contributor

jmorast commented Oct 6, 2017

Running build.sh I'm getting the following error for all of the build commands:

Step 5/25 : RUN cd /     && mkdir /opt     && curl --header "Cookie: oraclelicense=accept-securebackup-cookie" -fSL     http://download.oracle.com/otn-pub/java/jdk/$JAVA_VERSION-b$JAVA_BNUMBER/$JAVA_RANDOM/server-jre-$JAVA_VERSION-linux-x64.tar.gz     -o server-jre-$JAVA_VERSION-linux-x64.tar.gz     && tar -zxf server-jre-$JAVA_VERSION-linux-x64.tar.gz -C /opt     && rm server-jre-$JAVA_VERSION-linux-x64.tar.gz     && ln -s /opt/jdk$JAVA_SEMVER/ /opt/jre-home;
 ---> Running in d95ed79b9075
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   545  100   545    0     0    545      0  0:00:01 --:--:--  0:00:01   545
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found

Did I miss something in the setup or are the JRE's just not there for download?

@ChristopherDavenport
Copy link
Contributor

ChristopherDavenport commented Oct 6, 2017

JRE 7 was taken down. It's possible that this is referencing an old version of JRE 8 that needs to be updated. But JRE 7 has been officially deprecated.

Can you confirm you are receiving this error on java 8? As I received a 401 when checking without authorization.

@jmorast
Copy link
Contributor Author

jmorast commented Oct 7, 2017

Thanks for the quick response.

Here's the command I was trying to execute:
docker build -t base-ss:alpine-tomcat8-java8 base-ss/alpine-tomcat8-java8/.

I'm guessing the root cause is Oracle changing a URL...

@jmorast jmorast closed this as completed Oct 7, 2017
@jmorast jmorast reopened this Oct 7, 2017
@jmorast
Copy link
Contributor Author

jmorast commented Oct 7, 2017

Think I got it working, take a look at pull request #10 cheers.

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