2022-05-16 17:18:09 +0800
192 MB
/opt/java/openjdk
JAVA_VERSIONjdk-11.0.15+10
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:59bf1c3509f33515622619af21ed55bbe26d24913cedbca106468a5fb37a50c3 - 1.4% (2.69 MB)
[#001] sha256:c19b07404421938a8df370993b6f29962e313f235ba404c9441d523be80d468a - 1.87% (3.59 MB)
[#002] sha256:9eb3cd402444440e6f50abadc7ce47e39bd862897daf6d975bb1908cb5454189 - 0.22% (426 KB)
[#003] sha256:38e7219e53677d56b575cd63f23f2be3a2928af49138e4d2e4d9fe35df3b666f - 96.51% (185 MB)
[#004] sha256:175531e6b05b356e4132303f65ffc0981cc626d3bf8f3e18bd4762ccfcc42a64 - 0.0% (215 Bytes)
/bin/sh -c #(nop) ADD file:9233f6f2237d79659a9521f7e390df217cec49f1a8aa3a12147bbca1956acdb9 in /
2021-11-24 20:19:40 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2022-05-16 17:15:34 +0800 (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2022-05-16 17:15:34 +0800 (buildkit.dockerfile.v0)RUN /bin/sh -c apk update && apk add ca-certificates && update-ca-certificates && apk --no-cache add openssl wget # buildkit
2022-05-16 17:15:35 +0800 (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache tzdata musl-locales musl-locales-lang && rm -rf /var/cache/apk/* # buildkit
2022-05-16 17:15:35 +0800 (buildkit.dockerfile.v0)ENV JAVA_VERSION=jdk-11.0.15+10
2022-05-16 17:18:08 +0800 (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ARCH="$(apk --print-arch)"; case "${ARCH}" in amd64|x86_64) ESUM='52ad29ef644b8c268cf2c5b3d5fc15a9b0be6f246407ddce92e547b8473b642f'; BINARY_URL='https://github.com/alibaba/dragonwell11/releases/download/dragonwell-11.0.15.11.9_jdk-11.0.15-ga/Alibaba_Dragonwell_11.0.15.11.9_x64_alpine-linux.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; wget -O /tmp/openjdk.tar.gz ${BINARY_URL}; echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; mkdir -p /opt/java/openjdk; tar --extract --file /tmp/openjdk.tar.gz --directory /opt/java/openjdk --strip-components 1 --no-same-owner ; rm -rf /tmp/openjdk.tar.gz; # buildkit
2022-05-16 17:18:08 +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-16 17:18:09 +0800 (buildkit.dockerfile.v0)RUN /bin/sh -c echo Verifying install ... && echo javac --version && javac --version && echo java --version && java --version && echo Complete. # buildkit
2022-05-16 17:18:09 +0800 (buildkit.dockerfile.v0)CMD ["jshell"]
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.