-
Notifications
You must be signed in to change notification settings - Fork 177
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
docker:build failure #8
Comments
Hi,
|
@klearchos - Thanks for the help - this one helped me also. I also commented on your merge request - hopefully, this all gets updated. |
In my case I had issues when installing ths JCE and the quickest solution was to change the Dockerfile for confsrv as follows:
the change uses an alpine docker image with java 14 which does not need JCE (Java Cryptography Extension). The change requires to add the following dependency in the pom.xml for confsrv.
|
[ERROR] Failed to execute goal com.spotify:docker-maven-plugin:0.4.10:build (default-cli) on project configurationserver-spmia-ch3: Exception caught: The command '/bin/sh -c cd /tmp/ && curl -k -LO "http://download.oracle.com/otn-pub/java/jce/8/jce_policy-8.zip" -H 'Cookie: oraclelicense=accept-securebackup-cookie' && unzip jce_policy-8.zip && rm jce_policy-8.zip' returned a non-zero code: 1 -> [Help 1]
Looks like Oracle added an additional redirect (302) from that URL which curl is not fully traversing. Use this URL instead: https://edelivery.oracle.com/otn-pub/java/jce/8/jce_policy-8.zip
The text was updated successfully, but these errors were encountered: