Skip to content

Commit 9216915

Browse files
debug 11
1 parent 33cfad4 commit 9216915

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ WORKDIR /home/non-root-user
7575
RUN <<-EOT
7676
set -eux
7777
sudo mkdir -p /usr/lib/jvm/oracle8
78-
echo $ORACLE_JAVA8_TOKEN
78+
echo "token is: $ORACLE_JAVA8_TOKEN"
7979
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
8080
unset ORACLE_JAVA8_TOKEN
8181
EOT

build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function docker_build() {
7272
shift
7373
docker build \
7474
--build-arg LATEST_VERSION=$LATEST_VERSION \
75-
--build-arg ORACLE_JAVA8_TOKEN=$ORACLE_JAVA8_TOKEN \
75+
--build-arg ORACLE_JAVA8_TOKEN=fake_test_token \
7676
--platform linux/amd64 \
7777
--label org.opencontainers.image.created="$BUILD_DATE" \
7878
--label org.opencontainers.image.source=https://github.com/DataDog/dd-trace-java-docker-build \

0 commit comments

Comments
 (0)