2022-05-31 15:15:36 +0800
279 MB
/opt/java/openjdk
JAVA_VERSIONjdk8u332-b09
LANGen_US.UTF-8
LANGUAGEen_US:en
LC_ALLen_US.UTF-8
PATH/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:f5b392a2cd64e84e7a9566f3c06927a88bac5a4d0b0dcc4714993ff7dccaac91 - 60.11% (168 MB)
[#001] sha256:3400b99acef2b537bf570f7cc2bc260233fdd9da29803b22a65f2eda192eab7f - 4.41% (12.3 MB)
[#002] sha256:d7b4eb5992535070a5bbf6a58dfb65fe3797305c4b4328803179799dd81c5df9 - 35.48% (98.9 MB)
[#003] sha256:50fca948c0538a6d4158b27368bef296b0e2d12409a0c766bdfc8d440d8ba440 - 0.0% (1.53 KB)
/bin/sh
2022-05-31 15:14:26 +0800 (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2022-05-31 15:14:26 +0800 (buildkit.dockerfile.v0)RUN /bin/sh -c yum install -y tzdata openssl curl ca-certificates fontconfig gzip tar && yum clean all # buildkit
2022-05-31 15:14:26 +0800 (buildkit.dockerfile.v0)ENV JAVA_VERSION=jdk8u332-b09
2022-05-31 15:15:36 +0800 (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ARCH="$(objdump="$(command -v objdump)" && objdump --file-headers "$objdump" | awk -F '[:,]+[[:space:]]+' '$1 == "architecture" { print $2 }')"; case "${ARCH}" in amd64|i386:x86-64) ESUM='03923f200dffddf9eee2aadc0c495674fe0b87cc2eece94a9a8dec84812d12bd'; BINARY_URL='https://github.com/alibaba/dragonwell8/releases/download/dragonwell-8.11.12_jdk8u332-ga/Alibaba_Dragonwell_8.11.12_x64_linux.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; curl -LfsSo /tmp/openjdk.tar.gz ${BINARY_URL}; echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; mkdir -p /opt/java/openjdk; cd /opt/java/openjdk; tar -xf /tmp/openjdk.tar.gz --strip-components=1; rm -rf /tmp/openjdk.tar.gz; # buildkit
2022-05-31 15:15:36 +0800 (buildkit.dockerfile.v0)ENV JAVA_HOME=/opt/java/openjdk PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2022-05-31 15:15:36 +0800 (buildkit.dockerfile.v0)RUN /bin/sh -c echo Verifying install ... && echo javac -version && javac -version && echo java -version && java -version && echo Complete. # buildkit
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.