We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64de672 commit af8d757Copy full SHA for af8d757
Dockerfile
@@ -76,7 +76,7 @@ RUN --mount=type=secret,id=oracle_java8_token <<-EOT
76
sudo mkdir -p /usr/lib/jvm/oracle8
77
# turn off tracing before touching secrets
78
set +x
79
- ORACLE_JAVA8_TOKEN="$(cat /run/secrets/oracle_java8_token)"
+ sudo ORACLE_JAVA8_TOKEN="$(cat /run/secrets/oracle_java8_token)"
80
sudo curl -L --fail -H "token:${ORACLE_JAVA8_TOKEN}" https://java.oraclecloud.com/java/8/latest/jdk-8-linux-x64_bin.tar.gz | sudo tar -xvzf - -C /usr/lib/jvm/oracle8 --strip-components 1
81
unset ORACLE_JAVA8_TOKEN
82
EOT
0 commit comments