Namespace
library
Image / Tag
tomcat:10.0.23-jdk8-corretto
Content Digest
sha256:f3549e5b00a379ff36fd4002480540a7c296165220c666e42b0f418e270042a1
Details
Created

2022-09-22 20:52:37 UTC

Size

147 MB

Content Digest
Environment
CATALINA_HOME

/usr/local/tomcat

GPG_KEYS

A9C5DF4D22E99998D9875A5110C01C5A2F6059E7

JAVA_HOME

/usr/lib/jvm/java-1.8.0-amazon-corretto

LANG

C.UTF-8

LD_LIBRARY_PATH

/usr/local/tomcat/native-jni-lib

PATH

/usr/local/tomcat/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

TOMCAT_MAJOR

10

TOMCAT_NATIVE_LIBDIR

/usr/local/tomcat/native-jni-lib

TOMCAT_SHA512

0e0263e8280f2ccfb4bef916444a6105fef689a3d95c334c8a7bfe59f1e3966d48ea624727f1818a4df331a603f1ac5e21b908dda3cae676ddc1aef90c2d12ab

TOMCAT_VERSION

10.0.23


Layers

[#000] sha256:e80285ff599e329e689e4689be05885456823b7f6233486aa419541ae8e98c62 - 40.28% (59.4 MB)

[#001] sha256:3d242445a0b73d3bab925ec8b14a272abc46d96b640db1716dc1b9b3b901d349 - 48.86% (72.1 MB)

[#002] sha256:1cd6e4fa699a15cb370702212cb1ec8411c5840b47ba2cd17d6b9a0ce6a595ab - 0.0% (171 Bytes)

[#003] sha256:9b0ba53ff114e56e3d0d4d2ce89fa621f66b875921bfe82b9df526be14512188 - 10.85% (16 MB)

[#004] sha256:507f33d3c493f759688fdaf75e6cfd9fb8c6cae2e9d2500246443ae57888b44c - 0.0% (132 Bytes)


History
2022-09-22 19:19:21 UTC

/bin/sh -c #(nop) ADD file:99847692b0f2dee43b50f306ad92fbc13ccb0541af21c6d3040f72d3184aabac in /

2022-09-22 19:19:21 UTC

/bin/sh -c #(nop) CMD ["/bin/bash"]

2022-09-22 20:09:30 UTC

/bin/sh -c #(nop) ARG version=1.8.0_342.b07-4

2022-09-22 20:09:51 UTC

|1 version=1.8.0_342.b07-4 /bin/sh -c set -eux && export GNUPGHOME="$(mktemp -d)" && curl -fL -o corretto.key https://yum.corretto.aws/corretto.key && gpg --batch --import corretto.key && gpg --batch --export --armor '6DC3636DAE534049C8B94623A122542AB04F24E3' > corretto.key && rpm --import corretto.key && rm -r "$GNUPGHOME" corretto.key && curl -fL -o /etc/yum.repos.d/corretto.repo https://yum.corretto.aws/corretto.repo && grep -q '^gpgcheck=1' /etc/yum.repos.d/corretto.repo && echo "priority=9" >> /etc/yum.repos.d/corretto.repo && yum install -y java-1.8.0-amazon-corretto-devel-$version && (find /usr/lib/jvm/java-1.8.0-amazon-corretto -name src.zip -delete || true) && yum install -y fontconfig && yum clean all

2022-09-22 20:09:52 UTC

/bin/sh -c #(nop) ENV LANG=C.UTF-8

2022-09-22 20:09:52 UTC

/bin/sh -c #(nop) ENV JAVA_HOME=/usr/lib/jvm/java-1.8.0-amazon-corretto

2022-09-22 20:52:01 UTC

/bin/sh -c #(nop) ENV CATALINA_HOME=/usr/local/tomcat

2022-09-22 20:52:01 UTC

/bin/sh -c #(nop) ENV PATH=/usr/local/tomcat/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2022-09-22 20:52:02 UTC

/bin/sh -c mkdir -p "$CATALINA_HOME"

2022-09-22 20:52:02 UTC

/bin/sh -c #(nop) WORKDIR /usr/local/tomcat

2022-09-22 20:52:02 UTC

/bin/sh -c #(nop) ENV TOMCAT_NATIVE_LIBDIR=/usr/local/tomcat/native-jni-lib

2022-09-22 20:52:02 UTC

/bin/sh -c #(nop) ENV LD_LIBRARY_PATH=/usr/local/tomcat/native-jni-lib

2022-09-22 20:52:02 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=A9C5DF4D22E99998D9875A5110C01C5A2F6059E7

2022-09-22 20:52:02 UTC

/bin/sh -c #(nop) ENV TOMCAT_MAJOR=10

2022-09-22 20:52:02 UTC

/bin/sh -c #(nop) ENV TOMCAT_VERSION=10.0.23

2022-09-22 20:52:02 UTC

/bin/sh -c #(nop) ENV TOMCAT_SHA512=0e0263e8280f2ccfb4bef916444a6105fef689a3d95c334c8a7bfe59f1e3966d48ea624727f1818a4df331a603f1ac5e21b908dda3cae676ddc1aef90c2d12ab

2022-09-22 20:52:35 UTC

/bin/sh -c set -eux; if ! command -v yumdb > /dev/null; then yum install -y --setopt=skip_missing_names_on_install=False yum-utils; yumdb set reason dep yum-utils; fi; _yum_install_temporary() { ( set -eu +x; local pkg todo=''; for pkg; do if ! rpm --query "$pkg" > /dev/null 2>&1; then todo="$todo $pkg"; fi; done; if [ -n "$todo" ]; then set -x; yum install -y --setopt=skip_missing_names_on_install=False $todo; yumdb set reason dep $todo; fi; ) }; _yum_install_temporary gzip tar; ddist() { local f="$1"; shift; local distFile="$1"; shift; local mvnFile="${1:-}"; local success=; local distUrl=; for distUrl in "https://www.apache.org/dyn/closer.cgi?action=download&filename=$distFile" "https://downloads.apache.org/$distFile" "https://www-us.apache.org/dist/$distFile" "https://www.apache.org/dist/$distFile" "https://archive.apache.org/dist/$distFile" ${mvnFile:+"https://repo1.maven.org/maven2/org/apache/tomcat/tomcat/$mvnFile"} ; do if curl -fL -o "$f" "$distUrl" && [ -s "$f" ]; then success=1; break; fi; done; [ -n "$success" ]; }; ddist 'tomcat.tar.gz' "tomcat/tomcat-$TOMCAT_MAJOR/v$TOMCAT_VERSION/bin/apache-tomcat-$TOMCAT_VERSION.tar.gz" "$TOMCAT_VERSION/tomcat-$TOMCAT_VERSION.tar.gz"; echo "$TOMCAT_SHA512 *tomcat.tar.gz" | sha512sum --strict --check -; ddist 'tomcat.tar.gz.asc' "tomcat/tomcat-$TOMCAT_MAJOR/v$TOMCAT_VERSION/bin/apache-tomcat-$TOMCAT_VERSION.tar.gz.asc" "$TOMCAT_VERSION/tomcat-$TOMCAT_VERSION.tar.gz.asc"; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --verify tomcat.tar.gz.asc tomcat.tar.gz; tar -xf tomcat.tar.gz --strip-components=1; rm bin/*.bat; rm tomcat.tar.gz*; command -v gpgconf && gpgconf --kill all || :; rm -rf "$GNUPGHOME"; mv webapps webapps.dist; mkdir webapps; nativeBuildDir="$(mktemp -d)"; tar -xf bin/tomcat-native.tar.gz -C "$nativeBuildDir" --strip-components=1; _yum_install_temporary apr-devel gcc make openssl11-devel ; ( export CATALINA_HOME="$PWD"; cd "$nativeBuildDir/native"; aprConfig="$(command -v apr-1-config)"; ./configure --libdir="$TOMCAT_NATIVE_LIBDIR" --prefix="$CATALINA_HOME" --with-apr="$aprConfig" --with-java-home="$JAVA_HOME" --with-ssl ; nproc="$(nproc)"; make -j "$nproc"; make install; ); rm -rf "$nativeBuildDir"; rm bin/tomcat-native.tar.gz; find "$TOMCAT_NATIVE_LIBDIR" -type f -executable -exec ldd '{}' ';' | awk '/=>/ && $(NF-1) != "=>" { print $(NF-1) }' | xargs -rt readlink -e | sort -u | xargs -rt rpm --query --whatprovides | sort -u | tee "$TOMCAT_NATIVE_LIBDIR/.dependencies.txt" | xargs -r yumdb set reason user ; yum autoremove -y; yum clean all; rm -rf /var/cache/yum; find ./bin/ -name '*.sh' -exec sed -ri 's|^#!/bin/sh$|#!/usr/bin/env bash|' '{}' +; chmod -R +rX .; chmod 777 logs temp work; catalina.sh version

2022-09-22 20:52:37 UTC

/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

2022-09-22 20:52:37 UTC

/bin/sh -c #(nop) EXPOSE 8080

2022-09-22 20:52:37 UTC

/bin/sh -c #(nop) CMD ["catalina.sh" "run"]

Details
Created

2022-09-22 20:22:04 UTC

Size

134 MB

Content Digest
Environment
CATALINA_HOME

/usr/local/tomcat

GPG_KEYS

A9C5DF4D22E99998D9875A5110C01C5A2F6059E7

JAVA_HOME

/usr/lib/jvm/java-1.8.0-amazon-corretto

LANG

C.UTF-8

LD_LIBRARY_PATH

/usr/local/tomcat/native-jni-lib

PATH

/usr/local/tomcat/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

TOMCAT_MAJOR

10

TOMCAT_NATIVE_LIBDIR

/usr/local/tomcat/native-jni-lib

TOMCAT_SHA512

0e0263e8280f2ccfb4bef916444a6105fef689a3d95c334c8a7bfe59f1e3966d48ea624727f1818a4df331a603f1ac5e21b908dda3cae676ddc1aef90c2d12ab

TOMCAT_VERSION

10.0.23


Layers

[#000] sha256:f5371f42f94d8ba2c9559448b8e36de82d246f179760ec911f594632d3545611 - 45.57% (61 MB)

[#001] sha256:8e6b62a31a4b411916dc3e90fd313a69e0bbb449d918c80722afa9e73fc39609 - 42.48% (56.8 MB)

[#002] sha256:ae90f00d9122fb87791f43beabd72cec298a97d13a6b984f4583ec961da8e31f - 0.0% (138 Bytes)

[#003] sha256:88326a74b7a72bebb50e758b083f54c2a4528763c137f74dd56c44cff8477c99 - 11.95% (16 MB)


History
2022-09-22 19:39:26 UTC

/bin/sh -c #(nop) ADD file:cd0852de8cdfb2b7efdaa53ad4827a33302d895b10306b540e7df9d8c7f00637 in /

2022-09-22 19:39:27 UTC

/bin/sh -c #(nop) CMD ["/bin/bash"]

2022-09-22 19:56:48 UTC

/bin/sh -c #(nop) ARG version=1.8.0_342.b07-4

2022-09-22 19:57:00 UTC

|1 version=1.8.0_342.b07-4 /bin/sh -c set -eux && export GNUPGHOME="$(mktemp -d)" && curl -fL -o corretto.key https://yum.corretto.aws/corretto.key && gpg --batch --import corretto.key && gpg --batch --export --armor '6DC3636DAE534049C8B94623A122542AB04F24E3' > corretto.key && rpm --import corretto.key && rm -r "$GNUPGHOME" corretto.key && curl -fL -o /etc/yum.repos.d/corretto.repo https://yum.corretto.aws/corretto.repo && grep -q '^gpgcheck=1' /etc/yum.repos.d/corretto.repo && echo "priority=9" >> /etc/yum.repos.d/corretto.repo && yum install -y java-1.8.0-amazon-corretto-devel-$version && (find /usr/lib/jvm/java-1.8.0-amazon-corretto -name src.zip -delete || true) && yum install -y fontconfig && yum clean all

2022-09-22 19:57:00 UTC

/bin/sh -c #(nop) ENV LANG=C.UTF-8

2022-09-22 19:57:01 UTC

/bin/sh -c #(nop) ENV JAVA_HOME=/usr/lib/jvm/java-1.8.0-amazon-corretto

2022-09-22 20:21:33 UTC

/bin/sh -c #(nop) ENV CATALINA_HOME=/usr/local/tomcat

2022-09-22 20:21:33 UTC

/bin/sh -c #(nop) ENV PATH=/usr/local/tomcat/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2022-09-22 20:21:34 UTC

/bin/sh -c mkdir -p "$CATALINA_HOME"

2022-09-22 20:21:35 UTC

/bin/sh -c #(nop) WORKDIR /usr/local/tomcat

2022-09-22 20:21:36 UTC

/bin/sh -c #(nop) ENV TOMCAT_NATIVE_LIBDIR=/usr/local/tomcat/native-jni-lib

2022-09-22 20:21:37 UTC

/bin/sh -c #(nop) ENV LD_LIBRARY_PATH=/usr/local/tomcat/native-jni-lib

2022-09-22 20:21:38 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=A9C5DF4D22E99998D9875A5110C01C5A2F6059E7

2022-09-22 20:21:39 UTC

/bin/sh -c #(nop) ENV TOMCAT_MAJOR=10

2022-09-22 20:21:40 UTC

/bin/sh -c #(nop) ENV TOMCAT_VERSION=10.0.23

2022-09-22 20:21:41 UTC

/bin/sh -c #(nop) ENV TOMCAT_SHA512=0e0263e8280f2ccfb4bef916444a6105fef689a3d95c334c8a7bfe59f1e3966d48ea624727f1818a4df331a603f1ac5e21b908dda3cae676ddc1aef90c2d12ab

2022-09-22 20:22:00 UTC

/bin/sh -c set -eux; if ! command -v yumdb > /dev/null; then yum install -y --setopt=skip_missing_names_on_install=False yum-utils; yumdb set reason dep yum-utils; fi; _yum_install_temporary() { ( set -eu +x; local pkg todo=''; for pkg; do if ! rpm --query "$pkg" > /dev/null 2>&1; then todo="$todo $pkg"; fi; done; if [ -n "$todo" ]; then set -x; yum install -y --setopt=skip_missing_names_on_install=False $todo; yumdb set reason dep $todo; fi; ) }; _yum_install_temporary gzip tar; ddist() { local f="$1"; shift; local distFile="$1"; shift; local mvnFile="${1:-}"; local success=; local distUrl=; for distUrl in "https://www.apache.org/dyn/closer.cgi?action=download&filename=$distFile" "https://downloads.apache.org/$distFile" "https://www-us.apache.org/dist/$distFile" "https://www.apache.org/dist/$distFile" "https://archive.apache.org/dist/$distFile" ${mvnFile:+"https://repo1.maven.org/maven2/org/apache/tomcat/tomcat/$mvnFile"} ; do if curl -fL -o "$f" "$distUrl" && [ -s "$f" ]; then success=1; break; fi; done; [ -n "$success" ]; }; ddist 'tomcat.tar.gz' "tomcat/tomcat-$TOMCAT_MAJOR/v$TOMCAT_VERSION/bin/apache-tomcat-$TOMCAT_VERSION.tar.gz" "$TOMCAT_VERSION/tomcat-$TOMCAT_VERSION.tar.gz"; echo "$TOMCAT_SHA512 *tomcat.tar.gz" | sha512sum --strict --check -; ddist 'tomcat.tar.gz.asc' "tomcat/tomcat-$TOMCAT_MAJOR/v$TOMCAT_VERSION/bin/apache-tomcat-$TOMCAT_VERSION.tar.gz.asc" "$TOMCAT_VERSION/tomcat-$TOMCAT_VERSION.tar.gz.asc"; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --verify tomcat.tar.gz.asc tomcat.tar.gz; tar -xf tomcat.tar.gz --strip-components=1; rm bin/*.bat; rm tomcat.tar.gz*; command -v gpgconf && gpgconf --kill all || :; rm -rf "$GNUPGHOME"; mv webapps webapps.dist; mkdir webapps; nativeBuildDir="$(mktemp -d)"; tar -xf bin/tomcat-native.tar.gz -C "$nativeBuildDir" --strip-components=1; _yum_install_temporary apr-devel gcc make openssl11-devel ; ( export CATALINA_HOME="$PWD"; cd "$nativeBuildDir/native"; aprConfig="$(command -v apr-1-config)"; ./configure --libdir="$TOMCAT_NATIVE_LIBDIR" --prefix="$CATALINA_HOME" --with-apr="$aprConfig" --with-java-home="$JAVA_HOME" --with-ssl ; nproc="$(nproc)"; make -j "$nproc"; make install; ); rm -rf "$nativeBuildDir"; rm bin/tomcat-native.tar.gz; find "$TOMCAT_NATIVE_LIBDIR" -type f -executable -exec ldd '{}' ';' | awk '/=>/ && $(NF-1) != "=>" { print $(NF-1) }' | xargs -rt readlink -e | sort -u | xargs -rt rpm --query --whatprovides | sort -u | tee "$TOMCAT_NATIVE_LIBDIR/.dependencies.txt" | xargs -r yumdb set reason user ; yum autoremove -y; yum clean all; rm -rf /var/cache/yum; find ./bin/ -name '*.sh' -exec sed -ri 's|^#!/bin/sh$|#!/usr/bin/env bash|' '{}' +; chmod -R +rX .; chmod 777 logs temp work; catalina.sh version

2022-09-22 20:22:02 UTC

/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

2022-09-22 20:22:03 UTC

/bin/sh -c #(nop) EXPOSE 8080

2022-09-22 20:22:04 UTC

/bin/sh -c #(nop) CMD ["catalina.sh" "run"]

Danger Zone
Delete Tag

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.

Delete