2023-01-28 09:58:48 UTC
233 MB
/usr/local/openjdk-17
JAVA_VERSION17.0.2
LANGC.UTF-8
LOG_LEVELINFO
PATH/usr/local/openjdk-17/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:1fe172e4850f03bb45d41a20174112bc119fbfec42a650edbbd8491aee32e3c3 - 12.82% (29.9 MB)
[#001] sha256:44d3aa8d076675d49d85180b0ced9daef210fe4fdff4bdbb422b9cf384e591d0 - 0.65% (1.51 MB)
[#002] sha256:6ce99fdf16e86bd02f6ad66a0e1334878528b5a4b5487850a76e0c08a7a27d56 - 76.74% (179 MB)
[#003] sha256:3f140d9c97f05d39a7e8f1734fc1038ef867c1c92db5883a6e482719babc2f7a - 9.79% (22.9 MB)
/bin/sh -c #(nop) ADD file:8b1e79f91081eb527b455431af58e823d8b84d9d0c8e5c47cb7bda7507954ae4 in /
2022-04-20 04:43:27 UTC/bin/sh -c #(nop) CMD ["bash"]
2022-04-20 10:47:39 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates p11-kit ; rm -rf /var/lib/apt/lists/*
2022-04-20 10:51:06 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/usr/local/openjdk-17
2022-04-20 10:51:06 UTC/bin/sh -c #(nop) ENV PATH=/usr/local/openjdk-17/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2022-04-20 10:51:06 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2022-04-20 10:51:06 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=17.0.2
2022-04-20 10:51:21 UTC/bin/sh -c set -eux; arch="$(dpkg --print-architecture)"; case "$arch" in 'amd64') downloadUrl='https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2_linux-x64_bin.tar.gz'; downloadSha256='0022753d0cceecacdd3a795dd4cea2bd7ffdf9dc06e22ffd1be98411742fbb44'; ;; 'arm64') downloadUrl='https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2_linux-aarch64_bin.tar.gz'; downloadSha256='13bfd976acf8803f862e82c7113fb0e9311ca5458b1decaef8a09ffd91119fa4'; ;; *) echo >&2 "error: unsupported architecture: '$arch'"; exit 1 ;; esac; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends wget ; rm -rf /var/lib/apt/lists/*; wget --progress=dot:giga -O openjdk.tgz "$downloadUrl"; echo "$downloadSha256 *openjdk.tgz" | sha256sum --strict --check -; mkdir -p "$JAVA_HOME"; tar --extract --file openjdk.tgz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm openjdk.tgz*; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; { echo '#!/usr/bin/env bash'; echo 'set -Eeuo pipefail'; echo 'trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose=server-auth "$JAVA_HOME/lib/security/cacerts"'; } > /etc/ca-certificates/update.d/docker-openjdk; chmod +x /etc/ca-certificates/update.d/docker-openjdk; /etc/ca-certificates/update.d/docker-openjdk; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig; java -Xshare:dump; fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java; javac --version; java --version
2022-04-20 10:51:22 UTC/bin/sh -c #(nop) CMD ["jshell"]
2023-01-28 09:58:48 UTC (buildkit.dockerfile.v0)COPY build/libs/*.jar app.jar # buildkit
2023-01-28 09:58:48 UTC (buildkit.dockerfile.v0)EXPOSE map[8080/tcp:{}]
2023-01-28 09:58:48 UTC (buildkit.dockerfile.v0)ENV LOG_LEVEL=INFO
2023-01-28 09:58:48 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["java" "-jar" "/app.jar" "-Dlogging.level=${LOG_LEVEL}"]
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.