2025-01-06 23:11:14 UTC
108 MB
/usr/local/tomcat
JAVA_HOME/opt/java/openjdk
JAVA_VERSIONjdk-21.0.5+11
LANGen_US.UTF-8
LANGUAGEen_US:en
LC_ALLen_US.UTF-8
LD_LIBRARY_PATH/usr/local/tomcat/native-jni-lib
PATH/usr/local/tomcat/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
TOMCAT_MAJOR10
TOMCAT_NATIVE_LIBDIR/usr/local/tomcat/native-jni-lib
TOMCAT_SHA512e29c4d0e26295d64dfeee399e7719b5baac2682ac0e7b53702f26d630fea761f93ddf60674dfe87c41ddd9b79d4938a6a533a280bb3d7fb83c2a1b7cd5da6b09
TOMCAT_VERSION10.1.34
[#000] sha256:de44b265507ae44b212defcb50694d666f136b35c1090d9709068bc861bb2d64 - 26.22% (28.4 MB)
[#001] sha256:441616c632c327335533ce88cacd05d7d4bd49438991fd0bbf9672786bd636de - 14.95% (16.2 MB)
[#002] sha256:d9112950a09a41fa4f27b53c8261dc3ee0f6fb0cba4062e59d6a3c2750f992cd - 46.59% (50.4 MB)
[#003] sha256:44b697a5734a7276814d217065c21161404a0a1881e2d7472fd6037a28dfd36f - 0.0% (160 Bytes)
[#004] sha256:f5089d3b7bc28d601a809f1088f36637a91a7e6982108d010231d24ade2ce16d - 0.0% (2.23 KB)
[#005] sha256:a11d7ba0451bdb83d69a58dbae72216fa9d78b4ed3dd63ce57281acabe36f2f9 - 0.0% (139 Bytes)
[#006] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#007] sha256:754b92b3377842e0fb4da78247cb73d7eebe64973399a864c18459c5fce0588a - 12.03% (13 MB)
[#008] sha256:bb4cfe75319f4aa97c9c8fe6c071b35fd97ea993abcc687041afbbd41425886c - 0.2% (218 KB)
[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
/bin/sh -c #(nop) ARG RELEASE
2024-11-19 17:29:23 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-11-19 17:29:23 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-11-19 17:29:23 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04
2024-11-19 17:29:25 UTC/bin/sh -c #(nop) ADD file:bcebbf0fddcba5b864d5d267b68dd23bcfb01275e6ec7bcab69bf8b56af14804 in /
2024-11-19 17:29:25 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/opt/java/openjdk
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends curl wget gnupg fontconfig ca-certificates p11-kit tzdata locales ; echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen; locale-gen en_US.UTF-8; rm -rf /var/lib/apt/lists/* # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV JAVA_VERSION=jdk-21.0.5+11
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) ESUM='553dda64b3b1c3c16f8afe402377ffebe64fb4a1721a46ed426a91fd18185e62'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jre_x64_linux_hotspot_21.0.5_11.tar.gz'; ;; arm64) ESUM='e4d02c33aeaf8e1148c1c505e129a709c5bc1889e855d4fb4f001b1780db42b4'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jre_aarch64_linux_hotspot_21.0.5_11.tar.gz'; ;; ppc64el) ESUM='ae9ad61578da420fa7aeb01d3f6909da8a74d54a31bb8ba090a263cfadf221cc'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jre_ppc64le_linux_hotspot_21.0.5_11.tar.gz'; ;; riscv64) ESUM='c6fe71bb6ce61366242073e3904c4f51613252a885d54be81c65d3fadd2c5b7c'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jre_riscv64_linux_hotspot_21.0.5_11.tar.gz'; ;; s390x) ESUM='19f457a67c281dac23a1b39794912db6353ee4ba45f9299e58b0251a4faf3141'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jre_s390x_linux_hotspot_21.0.5_11.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; wget --progress=dot:giga -O /tmp/openjdk.tar.gz ${BINARY_URL}; wget --progress=dot:giga -O /tmp/openjdk.tar.gz.sig ${BINARY_URL}.sig; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 3B04D753C9050D9A5D343F39843C48A565F8F04B; gpg --batch --verify /tmp/openjdk.tar.gz.sig /tmp/openjdk.tar.gz; rm -rf "${GNUPGHOME}" /tmp/openjdk.tar.gz.sig; echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; mkdir -p "$JAVA_HOME"; tar --extract --file /tmp/openjdk.tar.gz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm -f /tmp/openjdk.tar.gz; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig; java -Xshare:dump; # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; echo "Verifying install ..."; echo "java --version"; java --version; echo "Complete." # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)COPY --chmod=755 entrypoint.sh /__cacert_entrypoint.sh # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/__cacert_entrypoint.sh"]
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV CATALINA_HOME=/usr/local/tomcat
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/tomcat/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir -p "$CATALINA_HOME" # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)WORKDIR /usr/local/tomcat
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV TOMCAT_NATIVE_LIBDIR=/usr/local/tomcat/native-jni-lib
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV LD_LIBRARY_PATH=/usr/local/tomcat/native-jni-lib
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV TOMCAT_MAJOR=10
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV TOMCAT_VERSION=10.1.34
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV TOMCAT_SHA512=e29c4d0e26295d64dfeee399e7719b5baac2682ac0e7b53702f26d630fea761f93ddf60674dfe87c41ddd9b79d4938a6a533a280bb3d7fb83c2a1b7cd5da6b09
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)COPY /usr/local/tomcat /usr/local/tomcat # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; xargs -rt apt-get install -y --no-install-recommends < "$TOMCAT_NATIVE_LIBDIR/.dependencies.txt"; rm -rf /var/lib/apt/lists/* # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; nativeLines="$(catalina.sh configtest 2>&1)"; nativeLines="$(echo "$nativeLines" | grep 'Apache Tomcat Native')"; nativeLines="$(echo "$nativeLines" | sort -u)"; if ! echo "$nativeLines" | grep -E 'INFO: Loaded( APR based)? Apache Tomcat Native library' >&2; then echo >&2 "$nativeLines"; exit 1; fi # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)EXPOSE map[8080/tcp:{}]
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENTRYPOINT []
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)CMD ["catalina.sh" "run"]
2025-01-06 23:11:14 UTC
108 MB
/usr/local/tomcat
JAVA_HOME/opt/java/openjdk
JAVA_VERSIONjdk-21.0.5+11
LANGen_US.UTF-8
LANGUAGEen_US:en
LC_ALLen_US.UTF-8
LD_LIBRARY_PATH/usr/local/tomcat/native-jni-lib
PATH/usr/local/tomcat/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
TOMCAT_MAJOR10
TOMCAT_NATIVE_LIBDIR/usr/local/tomcat/native-jni-lib
TOMCAT_SHA512e29c4d0e26295d64dfeee399e7719b5baac2682ac0e7b53702f26d630fea761f93ddf60674dfe87c41ddd9b79d4938a6a533a280bb3d7fb83c2a1b7cd5da6b09
TOMCAT_VERSION10.1.34
[#000] sha256:8bb55f0677778c3027fcc4253dc452bc9c22de989a696391e739fb1cdbbdb4c2 - 25.5% (27.6 MB)
[#001] sha256:370f8a7b7cf214f61cc1a2546f38e47ba749cb698659b51aa07e70fcecbd7e2f - 14.99% (16.2 MB)
[#002] sha256:15a777866906dceb578d6fb9067bacfef6b842caa393c8964a83714d9eb3c4eb - 45.93% (49.6 MB)
[#003] sha256:3fef0073bb430a52684cb8a0f1ca41a15aefdf1e6756ed3f498d75a8e858cdc0 - 0.0% (159 Bytes)
[#004] sha256:5593e5b17a8fcc49dff3c6a1a701087ea58b3d8acc38ff69a4d97ebb0ca5b0fb - 0.0% (2.23 KB)
[#005] sha256:2ae3da79417a825a5a2397fd231546d7cb8d887dc089f86dcf8e4ced23b94176 - 0.0% (139 Bytes)
[#006] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#007] sha256:003f7dd6de303cc61f92ff8d9c500bbbbbb51adac1182bf5696b568ba3aa2baf - 12.06% (13 MB)
[#008] sha256:bb03e1bb396d8b7be124bafcaecaa8dd21c308cb2a1c569f4d14f58b4f0255cf - 1.52% (1.64 MB)
[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
/bin/sh -c #(nop) ARG RELEASE
2024-11-19 16:18:45 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-11-19 16:18:45 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-11-19 16:18:45 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04
2024-11-19 16:18:47 UTC/bin/sh -c #(nop) ADD file:765dfd09ec2ac4870c8b3efd6ef4a994f99695c574d546d7a9a0e69bbb970b03 in /
2024-11-19 16:18:47 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/opt/java/openjdk
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends curl wget gnupg fontconfig ca-certificates p11-kit tzdata locales ; echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen; locale-gen en_US.UTF-8; rm -rf /var/lib/apt/lists/* # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV JAVA_VERSION=jdk-21.0.5+11
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) ESUM='553dda64b3b1c3c16f8afe402377ffebe64fb4a1721a46ed426a91fd18185e62'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jre_x64_linux_hotspot_21.0.5_11.tar.gz'; ;; arm64) ESUM='e4d02c33aeaf8e1148c1c505e129a709c5bc1889e855d4fb4f001b1780db42b4'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jre_aarch64_linux_hotspot_21.0.5_11.tar.gz'; ;; ppc64el) ESUM='ae9ad61578da420fa7aeb01d3f6909da8a74d54a31bb8ba090a263cfadf221cc'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jre_ppc64le_linux_hotspot_21.0.5_11.tar.gz'; ;; riscv64) ESUM='c6fe71bb6ce61366242073e3904c4f51613252a885d54be81c65d3fadd2c5b7c'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jre_riscv64_linux_hotspot_21.0.5_11.tar.gz'; ;; s390x) ESUM='19f457a67c281dac23a1b39794912db6353ee4ba45f9299e58b0251a4faf3141'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jre_s390x_linux_hotspot_21.0.5_11.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; wget --progress=dot:giga -O /tmp/openjdk.tar.gz ${BINARY_URL}; wget --progress=dot:giga -O /tmp/openjdk.tar.gz.sig ${BINARY_URL}.sig; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 3B04D753C9050D9A5D343F39843C48A565F8F04B; gpg --batch --verify /tmp/openjdk.tar.gz.sig /tmp/openjdk.tar.gz; rm -rf "${GNUPGHOME}" /tmp/openjdk.tar.gz.sig; echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; mkdir -p "$JAVA_HOME"; tar --extract --file /tmp/openjdk.tar.gz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm -f /tmp/openjdk.tar.gz; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig; java -Xshare:dump; # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; echo "Verifying install ..."; echo "java --version"; java --version; echo "Complete." # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)COPY --chmod=755 entrypoint.sh /__cacert_entrypoint.sh # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/__cacert_entrypoint.sh"]
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV CATALINA_HOME=/usr/local/tomcat
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/tomcat/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir -p "$CATALINA_HOME" # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)WORKDIR /usr/local/tomcat
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV TOMCAT_NATIVE_LIBDIR=/usr/local/tomcat/native-jni-lib
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV LD_LIBRARY_PATH=/usr/local/tomcat/native-jni-lib
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV TOMCAT_MAJOR=10
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV TOMCAT_VERSION=10.1.34
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV TOMCAT_SHA512=e29c4d0e26295d64dfeee399e7719b5baac2682ac0e7b53702f26d630fea761f93ddf60674dfe87c41ddd9b79d4938a6a533a280bb3d7fb83c2a1b7cd5da6b09
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)COPY /usr/local/tomcat /usr/local/tomcat # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; xargs -rt apt-get install -y --no-install-recommends < "$TOMCAT_NATIVE_LIBDIR/.dependencies.txt"; rm -rf /var/lib/apt/lists/* # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; nativeLines="$(catalina.sh configtest 2>&1)"; nativeLines="$(echo "$nativeLines" | grep 'Apache Tomcat Native')"; nativeLines="$(echo "$nativeLines" | sort -u)"; if ! echo "$nativeLines" | grep -E 'INFO: Loaded( APR based)? Apache Tomcat Native library' >&2; then echo >&2 "$nativeLines"; exit 1; fi # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)EXPOSE map[8080/tcp:{}]
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENTRYPOINT []
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)CMD ["catalina.sh" "run"]
2025-01-06 23:11:14 UTC
116 MB
/usr/local/tomcat
JAVA_HOME/opt/java/openjdk
JAVA_VERSIONjdk-21.0.5+11
LANGen_US.UTF-8
LANGUAGEen_US:en
LC_ALLen_US.UTF-8
LD_LIBRARY_PATH/usr/local/tomcat/native-jni-lib
PATH/usr/local/tomcat/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
TOMCAT_MAJOR10
TOMCAT_NATIVE_LIBDIR/usr/local/tomcat/native-jni-lib
TOMCAT_SHA512e29c4d0e26295d64dfeee399e7719b5baac2682ac0e7b53702f26d630fea761f93ddf60674dfe87c41ddd9b79d4938a6a533a280bb3d7fb83c2a1b7cd5da6b09
TOMCAT_VERSION10.1.34
[#000] sha256:4e112885c8061d52bcd0f8d99851b65be887b95c74de235a16946b3562526bbb - 28.23% (32.8 MB)
[#001] sha256:eb08691d29d174440113fb3d94aec487ff706b850acfce25b3870b67886fdc90 - 15.47% (18 MB)
[#002] sha256:fc2fdce47186805622fe4daed6b5a5e04bc37a90e9cd7190a519f49ce726f50f - 43.44% (50.5 MB)
[#003] sha256:e50244f04ef797f2b81959e555a3565ca20764e4b146786273c168b23fd160fd - 0.0% (158 Bytes)
[#004] sha256:79b03327024b94f501dbecee4b9fb36a3ff361d4a5e5838c1d76f0e5a71ae350 - 0.0% (2.23 KB)
[#005] sha256:b5fa8f2f17285b80d99d39349223afb98632453b076abfc5e35103f336e449e9 - 0.0% (140 Bytes)
[#006] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#007] sha256:fdf90941bdc8e2f3b02acfb3348c3735ba629dc5c3a289be7e550f9f20ffe904 - 11.22% (13 MB)
[#008] sha256:5bce034033ddb0bdf348c376956fcf44bc64a18551ab3a516fed611382946d35 - 1.63% (1.89 MB)
[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
/bin/sh -c #(nop) ARG RELEASE
2024-11-19 16:18:47 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-11-19 16:18:47 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-11-19 16:18:47 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04
2024-11-19 16:18:50 UTC/bin/sh -c #(nop) ADD file:43ada82586e21a3bec38211b678fc6eb9b5e39f96a2d31fced4653d2b54a553f in /
2024-11-19 16:18:50 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/opt/java/openjdk
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends curl wget gnupg fontconfig ca-certificates p11-kit tzdata locales ; echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen; locale-gen en_US.UTF-8; rm -rf /var/lib/apt/lists/* # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV JAVA_VERSION=jdk-21.0.5+11
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) ESUM='553dda64b3b1c3c16f8afe402377ffebe64fb4a1721a46ed426a91fd18185e62'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jre_x64_linux_hotspot_21.0.5_11.tar.gz'; ;; arm64) ESUM='e4d02c33aeaf8e1148c1c505e129a709c5bc1889e855d4fb4f001b1780db42b4'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jre_aarch64_linux_hotspot_21.0.5_11.tar.gz'; ;; ppc64el) ESUM='ae9ad61578da420fa7aeb01d3f6909da8a74d54a31bb8ba090a263cfadf221cc'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jre_ppc64le_linux_hotspot_21.0.5_11.tar.gz'; ;; riscv64) ESUM='c6fe71bb6ce61366242073e3904c4f51613252a885d54be81c65d3fadd2c5b7c'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jre_riscv64_linux_hotspot_21.0.5_11.tar.gz'; ;; s390x) ESUM='19f457a67c281dac23a1b39794912db6353ee4ba45f9299e58b0251a4faf3141'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jre_s390x_linux_hotspot_21.0.5_11.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; wget --progress=dot:giga -O /tmp/openjdk.tar.gz ${BINARY_URL}; wget --progress=dot:giga -O /tmp/openjdk.tar.gz.sig ${BINARY_URL}.sig; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 3B04D753C9050D9A5D343F39843C48A565F8F04B; gpg --batch --verify /tmp/openjdk.tar.gz.sig /tmp/openjdk.tar.gz; rm -rf "${GNUPGHOME}" /tmp/openjdk.tar.gz.sig; echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; mkdir -p "$JAVA_HOME"; tar --extract --file /tmp/openjdk.tar.gz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm -f /tmp/openjdk.tar.gz; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig; java -Xshare:dump; # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; echo "Verifying install ..."; echo "java --version"; java --version; echo "Complete." # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)COPY --chmod=755 entrypoint.sh /__cacert_entrypoint.sh # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/__cacert_entrypoint.sh"]
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV CATALINA_HOME=/usr/local/tomcat
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/tomcat/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir -p "$CATALINA_HOME" # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)WORKDIR /usr/local/tomcat
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV TOMCAT_NATIVE_LIBDIR=/usr/local/tomcat/native-jni-lib
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV LD_LIBRARY_PATH=/usr/local/tomcat/native-jni-lib
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV TOMCAT_MAJOR=10
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV TOMCAT_VERSION=10.1.34
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV TOMCAT_SHA512=e29c4d0e26295d64dfeee399e7719b5baac2682ac0e7b53702f26d630fea761f93ddf60674dfe87c41ddd9b79d4938a6a533a280bb3d7fb83c2a1b7cd5da6b09
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)COPY /usr/local/tomcat /usr/local/tomcat # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; xargs -rt apt-get install -y --no-install-recommends < "$TOMCAT_NATIVE_LIBDIR/.dependencies.txt"; rm -rf /var/lib/apt/lists/* # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; nativeLines="$(catalina.sh configtest 2>&1)"; nativeLines="$(echo "$nativeLines" | grep 'Apache Tomcat Native')"; nativeLines="$(echo "$nativeLines" | sort -u)"; if ! echo "$nativeLines" | grep -E 'INFO: Loaded( APR based)? Apache Tomcat Native library' >&2; then echo >&2 "$nativeLines"; exit 1; fi # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)EXPOSE map[8080/tcp:{}]
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENTRYPOINT []
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)CMD ["catalina.sh" "run"]
2025-01-06 23:11:14 UTC
108 MB
/usr/local/tomcat
JAVA_HOME/opt/java/openjdk
JAVA_VERSIONjdk-21.0.5+11
LANGen_US.UTF-8
LANGUAGEen_US:en
LC_ALLen_US.UTF-8
LD_LIBRARY_PATH/usr/local/tomcat/native-jni-lib
PATH/usr/local/tomcat/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
TOMCAT_MAJOR10
TOMCAT_NATIVE_LIBDIR/usr/local/tomcat/native-jni-lib
TOMCAT_SHA512e29c4d0e26295d64dfeee399e7719b5baac2682ac0e7b53702f26d630fea761f93ddf60674dfe87c41ddd9b79d4938a6a533a280bb3d7fb83c2a1b7cd5da6b09
TOMCAT_VERSION10.1.34
[#000] sha256:0dcc8c973ba119a0fb5275114fd0456179bba1132bdc69f2afa4e1c4a235c540 - 27.29% (29.5 MB)
[#001] sha256:0f71802e45f04a2768174040c20bde61c8c2abaf2a16ed53d5c7442cf9dc97ae - 15.73% (17 MB)
[#002] sha256:41f3e1561495fb52043f2ae9a21e6dd4b7e1f987b5c8e96914e3a560270c598d - 44.59% (48.3 MB)
[#003] sha256:3777e83b3a644be9734588a44f82a234b46025fee3c49edc47a5e7e1fb4b0c32 - 0.0% (160 Bytes)
[#004] sha256:13a71eeb11123b7f342f33ed353731fcaa58c6affb1a485f76a6dd47a96b7f7e - 0.0% (2.23 KB)
[#005] sha256:f4afb641c6f8edbf9babf7ca6bd1dba9327668d43615bfafd14e0ff4fa571ef7 - 0.0% (139 Bytes)
[#006] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#007] sha256:102a32c3933505a013c5c208f95fcae66276afd740510db19c68ddf7eeff0663 - 12.19% (13.2 MB)
[#008] sha256:76d147d1c3f063a5e5c6f695cf187faed49e1f9f04c8ff3c0d70d399bbf6cce4 - 0.2% (221 KB)
[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
/bin/sh -c #(nop) ARG RELEASE
2024-11-19 16:33:49 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-11-19 16:33:49 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-11-19 16:33:49 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04
2024-11-19 16:34:25 UTC/bin/sh -c #(nop) ADD file:23c2e341d6cf3572f2762ef1304c406cf6d4f5ee8ee8719ef289a3b75a8323aa in /
2024-11-19 16:34:27 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/opt/java/openjdk
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends curl wget gnupg fontconfig ca-certificates p11-kit tzdata locales ; echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen; locale-gen en_US.UTF-8; rm -rf /var/lib/apt/lists/* # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV JAVA_VERSION=jdk-21.0.5+11
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) ESUM='553dda64b3b1c3c16f8afe402377ffebe64fb4a1721a46ed426a91fd18185e62'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jre_x64_linux_hotspot_21.0.5_11.tar.gz'; ;; arm64) ESUM='e4d02c33aeaf8e1148c1c505e129a709c5bc1889e855d4fb4f001b1780db42b4'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jre_aarch64_linux_hotspot_21.0.5_11.tar.gz'; ;; ppc64el) ESUM='ae9ad61578da420fa7aeb01d3f6909da8a74d54a31bb8ba090a263cfadf221cc'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jre_ppc64le_linux_hotspot_21.0.5_11.tar.gz'; ;; riscv64) ESUM='c6fe71bb6ce61366242073e3904c4f51613252a885d54be81c65d3fadd2c5b7c'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jre_riscv64_linux_hotspot_21.0.5_11.tar.gz'; ;; s390x) ESUM='19f457a67c281dac23a1b39794912db6353ee4ba45f9299e58b0251a4faf3141'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jre_s390x_linux_hotspot_21.0.5_11.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; wget --progress=dot:giga -O /tmp/openjdk.tar.gz ${BINARY_URL}; wget --progress=dot:giga -O /tmp/openjdk.tar.gz.sig ${BINARY_URL}.sig; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 3B04D753C9050D9A5D343F39843C48A565F8F04B; gpg --batch --verify /tmp/openjdk.tar.gz.sig /tmp/openjdk.tar.gz; rm -rf "${GNUPGHOME}" /tmp/openjdk.tar.gz.sig; echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; mkdir -p "$JAVA_HOME"; tar --extract --file /tmp/openjdk.tar.gz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm -f /tmp/openjdk.tar.gz; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig; java -Xshare:dump; # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; echo "Verifying install ..."; echo "java --version"; java --version; echo "Complete." # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)COPY --chmod=755 entrypoint.sh /__cacert_entrypoint.sh # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/__cacert_entrypoint.sh"]
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV CATALINA_HOME=/usr/local/tomcat
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/tomcat/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir -p "$CATALINA_HOME" # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)WORKDIR /usr/local/tomcat
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV TOMCAT_NATIVE_LIBDIR=/usr/local/tomcat/native-jni-lib
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV LD_LIBRARY_PATH=/usr/local/tomcat/native-jni-lib
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV TOMCAT_MAJOR=10
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV TOMCAT_VERSION=10.1.34
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV TOMCAT_SHA512=e29c4d0e26295d64dfeee399e7719b5baac2682ac0e7b53702f26d630fea761f93ddf60674dfe87c41ddd9b79d4938a6a533a280bb3d7fb83c2a1b7cd5da6b09
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)COPY /usr/local/tomcat /usr/local/tomcat # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; xargs -rt apt-get install -y --no-install-recommends < "$TOMCAT_NATIVE_LIBDIR/.dependencies.txt"; rm -rf /var/lib/apt/lists/* # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; nativeLines="$(catalina.sh configtest 2>&1)"; nativeLines="$(echo "$nativeLines" | grep 'Apache Tomcat Native')"; nativeLines="$(echo "$nativeLines" | sort -u)"; if ! echo "$nativeLines" | grep -E 'INFO: Loaded( APR based)? Apache Tomcat Native library' >&2; then echo >&2 "$nativeLines"; exit 1; fi # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)EXPOSE map[8080/tcp:{}]
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENTRYPOINT []
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)CMD ["catalina.sh" "run"]
2025-01-06 23:11:14 UTC
107 MB
/usr/local/tomcat
JAVA_HOME/opt/java/openjdk
JAVA_VERSIONjdk-21.0.5+11
LANGen_US.UTF-8
LANGUAGEen_US:en
LC_ALLen_US.UTF-8
LD_LIBRARY_PATH/usr/local/tomcat/native-jni-lib
PATH/usr/local/tomcat/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
TOMCAT_MAJOR10
TOMCAT_NATIVE_LIBDIR/usr/local/tomcat/native-jni-lib
TOMCAT_SHA512e29c4d0e26295d64dfeee399e7719b5baac2682ac0e7b53702f26d630fea761f93ddf60674dfe87c41ddd9b79d4938a6a533a280bb3d7fb83c2a1b7cd5da6b09
TOMCAT_VERSION10.1.34
[#000] sha256:755503a8fb36d6a0d08275c3792ab81b69fdff95054dff0aa932d6dc30107609 - 26.7% (28.6 MB)
[#001] sha256:13455a8ef0bbd24a83e365c2d75ff490c2b96ae8d038965b9151dd68fc2f3011 - 15.67% (16.8 MB)
[#002] sha256:ad1637cab11fef5e961c296f9cc53f2207fdfe65f6ec9d759581520d95e71ef3 - 44.0% (47.2 MB)
[#003] sha256:035933f59e2e8828b9bb2d57cae2b0044f04d8945e8f686e90831b1940a94961 - 0.0% (160 Bytes)
[#004] sha256:50699465d9e9296ba58857518279dd19baf07935aba85af072366a751758faad - 0.0% (2.23 KB)
[#005] sha256:434fd0057e99f58056ea7d8709ca2313e44908f8a94a24cee9f2e379ab16973e - 0.0% (139 Bytes)
[#006] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#007] sha256:61b4164af85b41af4c615c352afcc6a192a17c9cdb61c5ad01d36c44ad3702cf - 12.15% (13 MB)
[#008] sha256:c4b98e317ee5a0b9bef20a4dae006aa818dfd3d60d54877fe91e4834cbe990db - 1.47% (1.58 MB)
[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
/bin/sh -c #(nop) ARG RELEASE
2024-11-19 16:18:14 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-11-19 16:18:14 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-11-19 16:18:14 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04
2024-11-19 16:18:16 UTC/bin/sh -c #(nop) ADD file:1c391e128b3c5e552a1401f9520290446bf94ba089c2d74a5d661001d3d8b60c in /
2024-11-19 16:18:16 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/opt/java/openjdk
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends curl wget gnupg fontconfig ca-certificates p11-kit tzdata locales ; echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen; locale-gen en_US.UTF-8; rm -rf /var/lib/apt/lists/* # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV JAVA_VERSION=jdk-21.0.5+11
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) ESUM='553dda64b3b1c3c16f8afe402377ffebe64fb4a1721a46ed426a91fd18185e62'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jre_x64_linux_hotspot_21.0.5_11.tar.gz'; ;; arm64) ESUM='e4d02c33aeaf8e1148c1c505e129a709c5bc1889e855d4fb4f001b1780db42b4'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jre_aarch64_linux_hotspot_21.0.5_11.tar.gz'; ;; ppc64el) ESUM='ae9ad61578da420fa7aeb01d3f6909da8a74d54a31bb8ba090a263cfadf221cc'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jre_ppc64le_linux_hotspot_21.0.5_11.tar.gz'; ;; riscv64) ESUM='c6fe71bb6ce61366242073e3904c4f51613252a885d54be81c65d3fadd2c5b7c'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jre_riscv64_linux_hotspot_21.0.5_11.tar.gz'; ;; s390x) ESUM='19f457a67c281dac23a1b39794912db6353ee4ba45f9299e58b0251a4faf3141'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jre_s390x_linux_hotspot_21.0.5_11.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; wget --progress=dot:giga -O /tmp/openjdk.tar.gz ${BINARY_URL}; wget --progress=dot:giga -O /tmp/openjdk.tar.gz.sig ${BINARY_URL}.sig; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 3B04D753C9050D9A5D343F39843C48A565F8F04B; gpg --batch --verify /tmp/openjdk.tar.gz.sig /tmp/openjdk.tar.gz; rm -rf "${GNUPGHOME}" /tmp/openjdk.tar.gz.sig; echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; mkdir -p "$JAVA_HOME"; tar --extract --file /tmp/openjdk.tar.gz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm -f /tmp/openjdk.tar.gz; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig; java -Xshare:dump; # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; echo "Verifying install ..."; echo "java --version"; java --version; echo "Complete." # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)COPY --chmod=755 entrypoint.sh /__cacert_entrypoint.sh # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/__cacert_entrypoint.sh"]
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV CATALINA_HOME=/usr/local/tomcat
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/tomcat/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir -p "$CATALINA_HOME" # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)WORKDIR /usr/local/tomcat
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV TOMCAT_NATIVE_LIBDIR=/usr/local/tomcat/native-jni-lib
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV LD_LIBRARY_PATH=/usr/local/tomcat/native-jni-lib
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV TOMCAT_MAJOR=10
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV TOMCAT_VERSION=10.1.34
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENV TOMCAT_SHA512=e29c4d0e26295d64dfeee399e7719b5baac2682ac0e7b53702f26d630fea761f93ddf60674dfe87c41ddd9b79d4938a6a533a280bb3d7fb83c2a1b7cd5da6b09
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)COPY /usr/local/tomcat /usr/local/tomcat # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; xargs -rt apt-get install -y --no-install-recommends < "$TOMCAT_NATIVE_LIBDIR/.dependencies.txt"; rm -rf /var/lib/apt/lists/* # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; nativeLines="$(catalina.sh configtest 2>&1)"; nativeLines="$(echo "$nativeLines" | grep 'Apache Tomcat Native')"; nativeLines="$(echo "$nativeLines" | sort -u)"; if ! echo "$nativeLines" | grep -E 'INFO: Loaded( APR based)? Apache Tomcat Native library' >&2; then echo >&2 "$nativeLines"; exit 1; fi # buildkit
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)EXPOSE map[8080/tcp:{}]
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)ENTRYPOINT []
2025-01-06 23:11:14 UTC (buildkit.dockerfile.v0)CMD ["catalina.sh" "run"]
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.