2020-06-22 20:23:17 UTC
245 MB
/usr/java/openjdk-14
JAVA_VERSION14.0.1
LANGen_US.UTF-8
PATH/usr/java/openjdk-14/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:fa926a7d213a8145d6a906d68a085b21909a4b26871f142804e68b322bf8881f - 16.89% (41.4 MB)
[#001] sha256:22aed8993d2fb0bb3a658c631a1dfbd05c0e5d42218f419d18238996bd06ea08 - 5.74% (14.1 MB)
[#002] sha256:82415e630b3538e083d5ce5e9a20e5e55d7878e9daa01efd09fbaba620a989b8 - 77.38% (190 MB)
/bin/sh -c #(nop) MAINTAINER Oracle Linux Product Team <ol-ovm-info_ww@oracle.com>
2020-06-10 18:22:32 UTC/bin/sh -c #(nop) ADD file:79bb5b8b89fe54ba99fd9d42d4f8774bfb9c1319ac3ead17a2005a3bde852451 in /
2020-06-10 18:22:32 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2020-06-10 18:39:27 UTC/bin/sh -c set -eux; yum install -y gzip tar binutils freetype fontconfig ; rm -rf /var/cache/yum
2020-06-10 18:39:28 UTC/bin/sh -c #(nop) ENV LANG=en_US.UTF-8
2020-06-10 18:40:21 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/usr/java/openjdk-14
2020-06-10 18:40:21 UTC/bin/sh -c #(nop) ENV PATH=/usr/java/openjdk-14/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2020-06-10 18:40:21 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=14.0.1
2020-06-22 20:23:17 UTC/bin/sh -c set -eux; objdump="$(command -v objdump)"; arch="$(objdump --file-headers "$objdump" | awk -F '[:,]+[[:space:]]+' '$1 == "architecture" { print $2 }')"; case "$arch" in amd64 | i386:x86-64) downloadUrl=https://download.java.net/java/GA/jdk14.0.1/664493ef4a6946b186ff29eb326336a2/7/GPL/openjdk-14.0.1_linux-x64_bin.tar.gz; downloadSha256=22ce248e0bd69f23028625bede9d1b3080935b68d011eaaf9e241f84d6b9c4cc; ;; *) echo >&2 "error: unsupported architecture: '$arch'"; exit 1 ;; esac; curl -fL -o /openjdk.tgz "$downloadUrl"; echo "$downloadSha256 */openjdk.tgz" | sha256sum -c -; mkdir -p "$JAVA_HOME"; tar --extract --file /openjdk.tgz --directory "$JAVA_HOME" --strip-components 1; rm /openjdk.tgz; ln -sfT "$JAVA_HOME" /usr/java/default; ln -sfT "$JAVA_HOME" /usr/java/latest; for bin in "$JAVA_HOME/bin/"*; do base="$(basename "$bin")"; [ ! -e "/usr/bin/$base" ]; alternatives --install "/usr/bin/$base" "$base" "$bin" 20000; done; java -Xshare:dump; rm -rf "$JAVA_HOME/lib/security/cacerts"; ln -sT /etc/pki/ca-trust/extracted/java/cacerts "$JAVA_HOME/lib/security/cacerts"; java --version; javac --version
2020-06-22 20:23:17 UTC/bin/sh -c #(nop) 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.