Skip to content

Commit

Permalink
add certificates hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
jstriebel committed Jun 12, 2018
1 parent dbaa549 commit 95d4320
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions graalvm/Dockerfile
Expand Up @@ -10,6 +10,9 @@ RUN apk --no-cache add --virtual build ca-certificates curl wget && \
tar zx -C /usr/local/ && \
rm -f /usr/local/graalvm-ce-${GRAALVM_VERSION}/src.zip && \
ln -s /usr/local/graalvm-ce-${GRAALVM_VERSION} /usr/local/graalvm && \
echo 'HOTFIX for missing certificates: https://github.com/oracle/graal/issues/378' && \
ORACLE_JRE_URL='http://download.oracle.com/otn-pub/java/jdk/8u171-b11/512cd62ec5174c3487ac17c61aaa89e8/jdk-8u171-linux-x64.tar.gz' && \
curl -jkL -H "Cookie: oraclelicense=accept-securebackup-cookie" $ORACLE_JRE_URL | tar -zxvf - --directory /usr/local/graalvm --wildcards "*/jre/lib/security/cacerts" --strip-components 1 && \
apk del build

ENV PATH ${PATH}:/usr/local/graalvm/bin

0 comments on commit 95d4320

Please sign in to comment.