Namespace
library
Image / Tag
tomcat:7-jre7
Content Digest
sha256:d5bad6dde416e3214c88850ff1184de32d41afb10735b2594dd9e2d8f001fdcd
Details
Created

2019-05-14 00:39:22 UTC

Size

172 MB

Content Digest
Environment
CATALINA_HOME

/usr/local/tomcat

GPG_KEYS

05AB33110949707C93A279E3D3EFE6B686867BA6 07E48665A34DCAFAE522E5E6266191C37C037D42 47309207D818FFD8DCD3F83F1931D684307A10A5 541FBE7D8F78B25E055DDEE13C370389288584E7 61B832AC2F1C5A90F0F9B00A1C506407564C17A3 713DA88BE50911535FE716F5208B0AB1D63011C7 79F7026C690BAA50B92CD8B66A3AD3F4F22C4FED 9BA44C2621385CB966EBA586F72C284D731FABEE A27677289986DB50844682F8ACB77FC2E86E29AC A9C5DF4D22E99998D9875A5110C01C5A2F6059E7 DCFD35E0BF8CA7344752DE8B6FB21E8933C60243 F3A04C595DB5B6A5F1ECA43E3B7BBB100D811BBE F7DA48BB64BCB84ECBA7EE6935CD23C10D498E23

JAVA_DEBIAN_VERSION

7u221-2.6.18-1~deb8u1

JAVA_HOME

/docker-java-home/jre

JAVA_VERSION

7u221

LANG

C.UTF-8

LD_LIBRARY_PATH

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

OPENSSL_VERSION

1.1.0j-1~deb9u1

PATH

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

TOMCAT_ASC_URLS

https://www.apache.org/dyn/closer.cgi?action=download&filename=tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc https://www-us.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc https://www.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc

TOMCAT_MAJOR

7

TOMCAT_NATIVE_LIBDIR

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

TOMCAT_SHA512

b16f4b08591199e15f953c34965389a80d5597c28626a51c71ce42695ddd3359dc4df7f333ef0e1a1e8f9b2b6245041d57607c46764f33e560246c119cdc0f7a

TOMCAT_TGZ_URLS

https://www.apache.org/dyn/closer.cgi?action=download&filename=tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz https://www-us.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz https://www.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz

TOMCAT_VERSION

7.0.94


Layers

[#000] sha256:6b6ce677eea2e67f795221107c4a01e07d07480fa9706aa20331a88f2a6f8617 - 30.22% (52.1 MB)

[#001] sha256:d7f48be8120c22e9a5375fa05aea15ce2e87362772a9df12046625d8fcaba344 - 10.99% (18.9 MB)

[#002] sha256:92a8e2c6eb765550667da189d586c3b73d307abeeea430d6d5c95f55d65c9056 - 0.44% (779 KB)

[#003] sha256:861335b3e62345784c37710932c592a66747027b4ad36cba37649d6dd5894e79 - 0.0% (248 Bytes)

[#004] sha256:75c8cd31e512b600c9e451dd70c35aa35ac41226a2b3b6b7bb8a381d4e8e564e - 0.0% (131 Bytes)

[#005] sha256:0b28f11ab37edab67cc8a8f7e13418e263406ae4ded8531ed39d500f8acd28e5 - 50.79% (87.5 MB)

[#006] sha256:32bb033bc201523203780c51b7f28169fd3ad944b488a533c939d52cd751474b - 0.0% (149 Bytes)

[#007] sha256:61e4010108f5d3f632ebd0124e9dbabd32182a911d492d1cd649d66b4fc75305 - 1.75% (3.01 MB)

[#008] sha256:028dc5cdbaa867b95d6a9dbab4bb1d8b25a6f07d28d10a8dc788da9132c83d9f - 0.3% (530 KB)

[#009] sha256:9ec80ef519d8d5e4c05ad373c8d431ab1aa4e7335f89e09d133665b0b2ddd677 - 5.51% (9.5 MB)

[#010] sha256:39fcbe4bbc65095ea792dcec135207bb94f6498e335f4bbf4e09b803bc4351a8 - 0.0% (165 Bytes)


History
2019-05-08 10:42:11 UTC

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

2019-05-08 10:42:12 UTC

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

2019-05-08 18:57:59 UTC

/bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl netbase wget && rm -rf /var/lib/apt/lists/*

2019-05-08 18:57:59 UTC

/bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr ; rm -rf /var/lib/apt/lists/*; fi

2019-05-08 22:35:06 UTC

/bin/sh -c apt-get update && apt-get install -y --no-install-recommends bzip2 unzip xz-utils && rm -rf /var/lib/apt/lists/*

2019-05-08 22:35:07 UTC

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

2019-05-08 22:35:08 UTC

/bin/sh -c { echo '#!/bin/sh'; echo 'set -e'; echo; echo 'dirname "$(dirname "$(readlink -f "$(which javac || which java)")")"'; } > /usr/local/bin/docker-java-home && chmod +x /usr/local/bin/docker-java-home

2019-05-08 22:35:09 UTC

/bin/sh -c ln -svT "/usr/lib/jvm/java-7-openjdk-$(dpkg --print-architecture)" /docker-java-home

2019-05-08 22:35:10 UTC

/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home/jre

2019-05-13 23:53:53 UTC

/bin/sh -c #(nop) ENV JAVA_VERSION=7u221

2019-05-13 23:53:53 UTC

/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=7u221-2.6.18-1~deb8u1

2019-05-13 23:57:14 UTC

/bin/sh -c set -ex; if [ ! -d /usr/share/man/man1 ]; then mkdir -p /usr/share/man/man1; fi; apt-get update; apt-get install -y --no-install-recommends openjdk-7-jre="$JAVA_DEBIAN_VERSION" ; rm -rf /var/lib/apt/lists/*; [ "$(readlink -f "$JAVA_HOME")" = "$(docker-java-home)" ]; update-alternatives --get-selections | awk -v home="$(readlink -f "$JAVA_HOME")" 'index($3, home) == 1 { $2 = "manual"; print | "update-alternatives --set-selections" }'; update-alternatives --query java | grep -q 'Status: manual'

2019-05-14 00:26:12 UTC

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

2019-05-14 00:26:12 UTC

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

2019-05-14 00:26:13 UTC

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

2019-05-14 00:26:13 UTC

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

2019-05-14 00:26:13 UTC

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

2019-05-14 00:26:13 UTC

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

2019-05-14 00:26:13 UTC

/bin/sh -c #(nop) ENV OPENSSL_VERSION=1.1.0j-1~deb9u1

2019-05-14 00:29:13 UTC

/bin/sh -c set -ex; currentVersion="$(dpkg-query --show --showformat '${Version}\n' openssl)"; if dpkg --compare-versions "$currentVersion" '<<' "$OPENSSL_VERSION"; then if ! grep -q stretch /etc/apt/sources.list; then { echo 'deb http://deb.debian.org/debian stretch main'; echo 'deb http://security.debian.org stretch/updates main'; echo 'deb http://deb.debian.org/debian stretch-updates main'; } > /etc/apt/sources.list.d/stretch.list; { echo 'Package: *'; echo 'Pin: release n=stretch*'; echo 'Pin-Priority: -10'; echo; echo 'Package: openssl libssl*'; echo "Pin: version $OPENSSL_VERSION"; echo 'Pin-Priority: 990'; } > /etc/apt/preferences.d/stretch-openssl; fi; apt-get update; apt-get install -y --no-install-recommends openssl="$OPENSSL_VERSION"; rm -rf /var/lib/apt/lists/*; fi

2019-05-14 00:32:16 UTC

/bin/sh -c apt-get update && apt-get install -y --no-install-recommends libapr1 && rm -rf /var/lib/apt/lists/*

2019-05-14 00:32:17 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=05AB33110949707C93A279E3D3EFE6B686867BA6 07E48665A34DCAFAE522E5E6266191C37C037D42 47309207D818FFD8DCD3F83F1931D684307A10A5 541FBE7D8F78B25E055DDEE13C370389288584E7 61B832AC2F1C5A90F0F9B00A1C506407564C17A3 713DA88BE50911535FE716F5208B0AB1D63011C7 79F7026C690BAA50B92CD8B66A3AD3F4F22C4FED 9BA44C2621385CB966EBA586F72C284D731FABEE A27677289986DB50844682F8ACB77FC2E86E29AC A9C5DF4D22E99998D9875A5110C01C5A2F6059E7 DCFD35E0BF8CA7344752DE8B6FB21E8933C60243 F3A04C595DB5B6A5F1ECA43E3B7BBB100D811BBE F7DA48BB64BCB84ECBA7EE6935CD23C10D498E23

2019-05-14 00:32:17 UTC

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

2019-05-14 00:32:18 UTC

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

2019-05-14 00:32:18 UTC

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

2019-05-14 00:32:19 UTC

/bin/sh -c #(nop) ENV TOMCAT_TGZ_URLS=https://www.apache.org/dyn/closer.cgi?action=download&filename=tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz https://www-us.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz https://www.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz

2019-05-14 00:32:19 UTC

/bin/sh -c #(nop) ENV TOMCAT_ASC_URLS=https://www.apache.org/dyn/closer.cgi?action=download&filename=tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc https://www-us.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc https://www.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc

2019-05-14 00:39:19 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; done; apt-get install -y --no-install-recommends wget ca-certificates; success=; for url in $TOMCAT_TGZ_URLS; do if wget -O tomcat.tar.gz "$url"; then success=1; break; fi; done; [ -n "$success" ]; echo "$TOMCAT_SHA512 *tomcat.tar.gz" | sha512sum -c -; success=; for url in $TOMCAT_ASC_URLS; do if wget -O tomcat.tar.gz.asc "$url"; then success=1; break; fi; done; [ -n "$success" ]; gpg --batch --verify tomcat.tar.gz.asc tomcat.tar.gz; tar -xvf tomcat.tar.gz --strip-components=1; rm bin/*.bat; rm tomcat.tar.gz*; command -v gpgconf && gpgconf --kill all || :; rm -rf "$GNUPGHOME"; nativeBuildDir="$(mktemp -d)"; tar -xvf bin/tomcat-native.tar.gz -C "$nativeBuildDir" --strip-components=1; apt-get install -y --no-install-recommends dpkg-dev gcc libapr1-dev libssl-dev make "openjdk-${JAVA_VERSION%%[.~bu-]*}-jdk=$JAVA_DEBIAN_VERSION" ; ( export CATALINA_HOME="$PWD"; cd "$nativeBuildDir/native"; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --libdir="$TOMCAT_NATIVE_LIBDIR" --prefix="$CATALINA_HOME" --with-apr="$(which apr-1-config)" --with-java-home="$(docker-java-home)" --with-ssl=yes; make -j "$(nproc)"; make install; ); rm -rf "$nativeBuildDir"; rm bin/tomcat-native.tar.gz; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; find ./bin/ -name '*.sh' -exec sed -ri 's|^#!/bin/sh$|#!/usr/bin/env bash|' '{}' +; chmod -R +rX .; chmod 777 logs work

2019-05-14 00:39:21 UTC

/bin/sh -c set -e && nativeLines="$(catalina.sh configtest 2>&1)" && nativeLines="$(echo "$nativeLines" | grep 'Apache Tomcat Native')" && nativeLines="$(echo "$nativeLines" | sort -u)" && if ! echo "$nativeLines" | grep 'INFO: Loaded APR based Apache Tomcat Native library' >&2; then echo >&2 "$nativeLines"; exit 1; fi

2019-05-14 00:39:21 UTC

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

2019-05-14 00:39:22 UTC

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

Details
Created

2019-05-14 01:12:55 UTC

Size

161 MB

Content Digest
Environment
CATALINA_HOME

/usr/local/tomcat

GPG_KEYS

05AB33110949707C93A279E3D3EFE6B686867BA6 07E48665A34DCAFAE522E5E6266191C37C037D42 47309207D818FFD8DCD3F83F1931D684307A10A5 541FBE7D8F78B25E055DDEE13C370389288584E7 61B832AC2F1C5A90F0F9B00A1C506407564C17A3 713DA88BE50911535FE716F5208B0AB1D63011C7 79F7026C690BAA50B92CD8B66A3AD3F4F22C4FED 9BA44C2621385CB966EBA586F72C284D731FABEE A27677289986DB50844682F8ACB77FC2E86E29AC A9C5DF4D22E99998D9875A5110C01C5A2F6059E7 DCFD35E0BF8CA7344752DE8B6FB21E8933C60243 F3A04C595DB5B6A5F1ECA43E3B7BBB100D811BBE F7DA48BB64BCB84ECBA7EE6935CD23C10D498E23

JAVA_DEBIAN_VERSION

7u221-2.6.18-1~deb8u1

JAVA_HOME

/docker-java-home/jre

JAVA_VERSION

7u221

LANG

C.UTF-8

LD_LIBRARY_PATH

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

OPENSSL_VERSION

1.1.0j-1~deb9u1

PATH

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

TOMCAT_ASC_URLS

https://www.apache.org/dyn/closer.cgi?action=download&filename=tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc https://www-us.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc https://www.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc

TOMCAT_MAJOR

7

TOMCAT_NATIVE_LIBDIR

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

TOMCAT_SHA512

b16f4b08591199e15f953c34965389a80d5597c28626a51c71ce42695ddd3359dc4df7f333ef0e1a1e8f9b2b6245041d57607c46764f33e560246c119cdc0f7a

TOMCAT_TGZ_URLS

https://www.apache.org/dyn/closer.cgi?action=download&filename=tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz https://www-us.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz https://www.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz

TOMCAT_VERSION

7.0.94


Layers

[#000] sha256:db0035920883a73fe23c2f4c2c361e2508a9f8b9b410080817800c1f906323b7 - 32.3% (51.9 MB)

[#001] sha256:a9ebd83b4a4725c8e5e54f2aa7d3ee259492cbb89de0a4315c3533b84b32d3ee - 10.42% (16.7 MB)

[#002] sha256:02ef9e65a664c31717d28b5860445405dc277057ca1a1e3aabdde053669bc4f0 - 0.47% (777 KB)

[#003] sha256:b2786dccb0cc0174c18ba7cea8cb9e3ad67a9c6967590c1b2aa93a9947a1707b - 0.0% (246 Bytes)

[#004] sha256:1b809e89f352cb980641786f9fed5c83af31c74caeca25ed068677fe9149d9c6 - 0.0% (130 Bytes)

[#005] sha256:bf313a79ccc89a195395841961e578ee6c39b41a831746ea332173ccd9f7108e - 48.63% (78.1 MB)

[#006] sha256:e03e64e40a061047b41a5783875572fc0e037c851734e69f92cb5f7089ff4054 - 0.0% (149 Bytes)

[#007] sha256:aec2911e85abbb06a732d011bb6e48ff5f493c5df5f23a22f535734a8acbd002 - 1.87% (3.01 MB)

[#008] sha256:b7b5b93b2e01325936e159a4443fd2722f7bc0f09b6b43bc3c2fae47e817fd71 - 0.32% (520 KB)

[#009] sha256:e1a8ee44b3b90c89052a73affcb244720ceeb5c2478e11fd05faf544a11c1c96 - 6.0% (9.63 MB)

[#010] sha256:5f6f66788a6066ee2f9330704634bfc6697e7aef2b86ee3e08c0bbef51010242 - 0.0% (166 Bytes)


History
2019-05-08 00:30:19 UTC

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

2019-05-08 00:30:19 UTC

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

2019-05-08 01:31:50 UTC

/bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl netbase wget && rm -rf /var/lib/apt/lists/*

2019-05-08 01:31:51 UTC

/bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr ; rm -rf /var/lib/apt/lists/*; fi

2019-05-08 05:20:32 UTC

/bin/sh -c apt-get update && apt-get install -y --no-install-recommends bzip2 unzip xz-utils && rm -rf /var/lib/apt/lists/*

2019-05-08 05:20:32 UTC

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

2019-05-08 05:20:33 UTC

/bin/sh -c { echo '#!/bin/sh'; echo 'set -e'; echo; echo 'dirname "$(dirname "$(readlink -f "$(which javac || which java)")")"'; } > /usr/local/bin/docker-java-home && chmod +x /usr/local/bin/docker-java-home

2019-05-08 05:20:33 UTC

/bin/sh -c ln -svT "/usr/lib/jvm/java-7-openjdk-$(dpkg --print-architecture)" /docker-java-home

2019-05-08 05:20:34 UTC

/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home/jre

2019-05-14 00:32:03 UTC

/bin/sh -c #(nop) ENV JAVA_VERSION=7u221

2019-05-14 00:32:03 UTC

/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=7u221-2.6.18-1~deb8u1

2019-05-14 00:34:17 UTC

/bin/sh -c set -ex; if [ ! -d /usr/share/man/man1 ]; then mkdir -p /usr/share/man/man1; fi; apt-get update; apt-get install -y --no-install-recommends openjdk-7-jre="$JAVA_DEBIAN_VERSION" ; rm -rf /var/lib/apt/lists/*; [ "$(readlink -f "$JAVA_HOME")" = "$(docker-java-home)" ]; update-alternatives --get-selections | awk -v home="$(readlink -f "$JAVA_HOME")" 'index($3, home) == 1 { $2 = "manual"; print | "update-alternatives --set-selections" }'; update-alternatives --query java | grep -q 'Status: manual'

2019-05-14 01:05:12 UTC

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

2019-05-14 01:05:12 UTC

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

2019-05-14 01:05:13 UTC

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

2019-05-14 01:05:13 UTC

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

2019-05-14 01:05:13 UTC

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

2019-05-14 01:05:13 UTC

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

2019-05-14 01:05:13 UTC

/bin/sh -c #(nop) ENV OPENSSL_VERSION=1.1.0j-1~deb9u1

2019-05-14 01:06:58 UTC

/bin/sh -c set -ex; currentVersion="$(dpkg-query --show --showformat '${Version}\n' openssl)"; if dpkg --compare-versions "$currentVersion" '<<' "$OPENSSL_VERSION"; then if ! grep -q stretch /etc/apt/sources.list; then { echo 'deb http://deb.debian.org/debian stretch main'; echo 'deb http://security.debian.org stretch/updates main'; echo 'deb http://deb.debian.org/debian stretch-updates main'; } > /etc/apt/sources.list.d/stretch.list; { echo 'Package: *'; echo 'Pin: release n=stretch*'; echo 'Pin-Priority: -10'; echo; echo 'Package: openssl libssl*'; echo "Pin: version $OPENSSL_VERSION"; echo 'Pin-Priority: 990'; } > /etc/apt/preferences.d/stretch-openssl; fi; apt-get update; apt-get install -y --no-install-recommends openssl="$OPENSSL_VERSION"; rm -rf /var/lib/apt/lists/*; fi

2019-05-14 01:08:40 UTC

/bin/sh -c apt-get update && apt-get install -y --no-install-recommends libapr1 && rm -rf /var/lib/apt/lists/*

2019-05-14 01:08:41 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=05AB33110949707C93A279E3D3EFE6B686867BA6 07E48665A34DCAFAE522E5E6266191C37C037D42 47309207D818FFD8DCD3F83F1931D684307A10A5 541FBE7D8F78B25E055DDEE13C370389288584E7 61B832AC2F1C5A90F0F9B00A1C506407564C17A3 713DA88BE50911535FE716F5208B0AB1D63011C7 79F7026C690BAA50B92CD8B66A3AD3F4F22C4FED 9BA44C2621385CB966EBA586F72C284D731FABEE A27677289986DB50844682F8ACB77FC2E86E29AC A9C5DF4D22E99998D9875A5110C01C5A2F6059E7 DCFD35E0BF8CA7344752DE8B6FB21E8933C60243 F3A04C595DB5B6A5F1ECA43E3B7BBB100D811BBE F7DA48BB64BCB84ECBA7EE6935CD23C10D498E23

2019-05-14 01:08:41 UTC

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

2019-05-14 01:08:41 UTC

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

2019-05-14 01:08:41 UTC

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

2019-05-14 01:08:41 UTC

/bin/sh -c #(nop) ENV TOMCAT_TGZ_URLS=https://www.apache.org/dyn/closer.cgi?action=download&filename=tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz https://www-us.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz https://www.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz

2019-05-14 01:08:41 UTC

/bin/sh -c #(nop) ENV TOMCAT_ASC_URLS=https://www.apache.org/dyn/closer.cgi?action=download&filename=tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc https://www-us.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc https://www.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc

2019-05-14 01:12:53 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; done; apt-get install -y --no-install-recommends wget ca-certificates; success=; for url in $TOMCAT_TGZ_URLS; do if wget -O tomcat.tar.gz "$url"; then success=1; break; fi; done; [ -n "$success" ]; echo "$TOMCAT_SHA512 *tomcat.tar.gz" | sha512sum -c -; success=; for url in $TOMCAT_ASC_URLS; do if wget -O tomcat.tar.gz.asc "$url"; then success=1; break; fi; done; [ -n "$success" ]; gpg --batch --verify tomcat.tar.gz.asc tomcat.tar.gz; tar -xvf tomcat.tar.gz --strip-components=1; rm bin/*.bat; rm tomcat.tar.gz*; command -v gpgconf && gpgconf --kill all || :; rm -rf "$GNUPGHOME"; nativeBuildDir="$(mktemp -d)"; tar -xvf bin/tomcat-native.tar.gz -C "$nativeBuildDir" --strip-components=1; apt-get install -y --no-install-recommends dpkg-dev gcc libapr1-dev libssl-dev make "openjdk-${JAVA_VERSION%%[.~bu-]*}-jdk=$JAVA_DEBIAN_VERSION" ; ( export CATALINA_HOME="$PWD"; cd "$nativeBuildDir/native"; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --libdir="$TOMCAT_NATIVE_LIBDIR" --prefix="$CATALINA_HOME" --with-apr="$(which apr-1-config)" --with-java-home="$(docker-java-home)" --with-ssl=yes; make -j "$(nproc)"; make install; ); rm -rf "$nativeBuildDir"; rm bin/tomcat-native.tar.gz; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; find ./bin/ -name '*.sh' -exec sed -ri 's|^#!/bin/sh$|#!/usr/bin/env bash|' '{}' +; chmod -R +rX .; chmod 777 logs work

2019-05-14 01:12:55 UTC

/bin/sh -c set -e && nativeLines="$(catalina.sh configtest 2>&1)" && nativeLines="$(echo "$nativeLines" | grep 'Apache Tomcat Native')" && nativeLines="$(echo "$nativeLines" | sort -u)" && if ! echo "$nativeLines" | grep 'INFO: Loaded APR based Apache Tomcat Native library' >&2; then echo >&2 "$nativeLines"; exit 1; fi

2019-05-14 01:12:55 UTC

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

2019-05-14 01:12:55 UTC

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

Details
Created

2019-05-14 00:33:10 UTC

Size

148 MB

Content Digest
Environment
CATALINA_HOME

/usr/local/tomcat

GPG_KEYS

05AB33110949707C93A279E3D3EFE6B686867BA6 07E48665A34DCAFAE522E5E6266191C37C037D42 47309207D818FFD8DCD3F83F1931D684307A10A5 541FBE7D8F78B25E055DDEE13C370389288584E7 61B832AC2F1C5A90F0F9B00A1C506407564C17A3 713DA88BE50911535FE716F5208B0AB1D63011C7 79F7026C690BAA50B92CD8B66A3AD3F4F22C4FED 9BA44C2621385CB966EBA586F72C284D731FABEE A27677289986DB50844682F8ACB77FC2E86E29AC A9C5DF4D22E99998D9875A5110C01C5A2F6059E7 DCFD35E0BF8CA7344752DE8B6FB21E8933C60243 F3A04C595DB5B6A5F1ECA43E3B7BBB100D811BBE F7DA48BB64BCB84ECBA7EE6935CD23C10D498E23

JAVA_DEBIAN_VERSION

7u221-2.6.18-1~deb8u1

JAVA_HOME

/docker-java-home/jre

JAVA_VERSION

7u221

LANG

C.UTF-8

LD_LIBRARY_PATH

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

OPENSSL_VERSION

1.1.0j-1~deb9u1

PATH

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

TOMCAT_ASC_URLS

https://www.apache.org/dyn/closer.cgi?action=download&filename=tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc https://www-us.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc https://www.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc

TOMCAT_MAJOR

7

TOMCAT_NATIVE_LIBDIR

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

TOMCAT_SHA512

b16f4b08591199e15f953c34965389a80d5597c28626a51c71ce42695ddd3359dc4df7f333ef0e1a1e8f9b2b6245041d57607c46764f33e560246c119cdc0f7a

TOMCAT_TGZ_URLS

https://www.apache.org/dyn/closer.cgi?action=download&filename=tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz https://www-us.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz https://www.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz

TOMCAT_VERSION

7.0.94


Layers

[#000] sha256:6d0312bf9f8207dd961236544595b270fcfea05ff71dac15ac7c00f5e0427a7d - 33.83% (50.1 MB)

[#001] sha256:a6c5b66973862969fdf9e67a84145501ba3d04f73b4611e6d46d7728d5e9e606 - 10.96% (16.2 MB)

[#002] sha256:46949af4d7aece585f16cab14d12372f3e0662e72a742aba443eb280ad4c6f18 - 0.51% (770 KB)

[#003] sha256:f7dddb6c9472653686b94536761170e18c98acde6abc6f88de1a66b36b5e1c2b - 0.0% (247 Bytes)

[#004] sha256:18d958aa9801ad5afe27a102c2f1e1b46d7d1452f441dd41ee9382927fe52c0a - 0.0% (130 Bytes)

[#005] sha256:4e4c4364c964247177abea121d1b68fd2e6d9f58506176b8a18f8af065e5dd1d - 46.05% (68.2 MB)

[#006] sha256:3b9f695e972c9cf9428815c11d0f13b6fd3c4912c91949149a05255dd8363136 - 0.0% (181 Bytes)

[#007] sha256:895dcb3520ae09f3baff12e41f110f345246b0b1cdd89dd9421848ccbda8681b - 1.85% (2.74 MB)

[#008] sha256:ce0bdfeccaab5a9a8411fe3f2bda6a260b541b0303534842cd5dc59052ca48a2 - 0.33% (506 KB)

[#009] sha256:e6f86f86b3e40f8e128165ded18bdbc37729f95daa35230b6859c0b427b2b08c - 6.47% (9.59 MB)

[#010] sha256:6fa481845337d3d39b7516ff931d21beae261309f67379af7377078d26e50f8d - 0.0% (131 Bytes)


History
2019-05-08 08:50:00 UTC

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

2019-05-08 08:50:02 UTC

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

2019-05-08 09:53:04 UTC

/bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl netbase wget && rm -rf /var/lib/apt/lists/*

2019-05-08 09:53:06 UTC

/bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr ; rm -rf /var/lib/apt/lists/*; fi

2019-05-08 11:44:21 UTC

/bin/sh -c apt-get update && apt-get install -y --no-install-recommends bzip2 unzip xz-utils && rm -rf /var/lib/apt/lists/*

2019-05-08 11:44:22 UTC

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

2019-05-08 11:44:23 UTC

/bin/sh -c { echo '#!/bin/sh'; echo 'set -e'; echo; echo 'dirname "$(dirname "$(readlink -f "$(which javac || which java)")")"'; } > /usr/local/bin/docker-java-home && chmod +x /usr/local/bin/docker-java-home

2019-05-08 11:44:24 UTC

/bin/sh -c ln -svT "/usr/lib/jvm/java-7-openjdk-$(dpkg --print-architecture)" /docker-java-home

2019-05-08 11:44:24 UTC

/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home/jre

2019-05-14 00:00:41 UTC

/bin/sh -c #(nop) ENV JAVA_VERSION=7u221

2019-05-14 00:00:42 UTC

/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=7u221-2.6.18-1~deb8u1

2019-05-14 00:02:30 UTC

/bin/sh -c set -ex; if [ ! -d /usr/share/man/man1 ]; then mkdir -p /usr/share/man/man1; fi; apt-get update; apt-get install -y --no-install-recommends openjdk-7-jre="$JAVA_DEBIAN_VERSION" ; rm -rf /var/lib/apt/lists/*; [ "$(readlink -f "$JAVA_HOME")" = "$(docker-java-home)" ]; update-alternatives --get-selections | awk -v home="$(readlink -f "$JAVA_HOME")" 'index($3, home) == 1 { $2 = "manual"; print | "update-alternatives --set-selections" }'; update-alternatives --query java | grep -q 'Status: manual'

2019-05-14 00:27:28 UTC

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

2019-05-14 00:27:28 UTC

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

2019-05-14 00:27:30 UTC

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

2019-05-14 00:27:30 UTC

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

2019-05-14 00:27:31 UTC

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

2019-05-14 00:27:31 UTC

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

2019-05-14 00:27:32 UTC

/bin/sh -c #(nop) ENV OPENSSL_VERSION=1.1.0j-1~deb9u1

2019-05-14 00:28:44 UTC

/bin/sh -c set -ex; currentVersion="$(dpkg-query --show --showformat '${Version}\n' openssl)"; if dpkg --compare-versions "$currentVersion" '<<' "$OPENSSL_VERSION"; then if ! grep -q stretch /etc/apt/sources.list; then { echo 'deb http://deb.debian.org/debian stretch main'; echo 'deb http://security.debian.org stretch/updates main'; echo 'deb http://deb.debian.org/debian stretch-updates main'; } > /etc/apt/sources.list.d/stretch.list; { echo 'Package: *'; echo 'Pin: release n=stretch*'; echo 'Pin-Priority: -10'; echo; echo 'Package: openssl libssl*'; echo "Pin: version $OPENSSL_VERSION"; echo 'Pin-Priority: 990'; } > /etc/apt/preferences.d/stretch-openssl; fi; apt-get update; apt-get install -y --no-install-recommends openssl="$OPENSSL_VERSION"; rm -rf /var/lib/apt/lists/*; fi

2019-05-14 00:29:51 UTC

/bin/sh -c apt-get update && apt-get install -y --no-install-recommends libapr1 && rm -rf /var/lib/apt/lists/*

2019-05-14 00:29:51 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=05AB33110949707C93A279E3D3EFE6B686867BA6 07E48665A34DCAFAE522E5E6266191C37C037D42 47309207D818FFD8DCD3F83F1931D684307A10A5 541FBE7D8F78B25E055DDEE13C370389288584E7 61B832AC2F1C5A90F0F9B00A1C506407564C17A3 713DA88BE50911535FE716F5208B0AB1D63011C7 79F7026C690BAA50B92CD8B66A3AD3F4F22C4FED 9BA44C2621385CB966EBA586F72C284D731FABEE A27677289986DB50844682F8ACB77FC2E86E29AC A9C5DF4D22E99998D9875A5110C01C5A2F6059E7 DCFD35E0BF8CA7344752DE8B6FB21E8933C60243 F3A04C595DB5B6A5F1ECA43E3B7BBB100D811BBE F7DA48BB64BCB84ECBA7EE6935CD23C10D498E23

2019-05-14 00:29:52 UTC

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

2019-05-14 00:29:53 UTC

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

2019-05-14 00:29:53 UTC

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

2019-05-14 00:29:54 UTC

/bin/sh -c #(nop) ENV TOMCAT_TGZ_URLS=https://www.apache.org/dyn/closer.cgi?action=download&filename=tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz https://www-us.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz https://www.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz

2019-05-14 00:29:54 UTC

/bin/sh -c #(nop) ENV TOMCAT_ASC_URLS=https://www.apache.org/dyn/closer.cgi?action=download&filename=tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc https://www-us.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc https://www.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc

2019-05-14 00:33:04 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; done; apt-get install -y --no-install-recommends wget ca-certificates; success=; for url in $TOMCAT_TGZ_URLS; do if wget -O tomcat.tar.gz "$url"; then success=1; break; fi; done; [ -n "$success" ]; echo "$TOMCAT_SHA512 *tomcat.tar.gz" | sha512sum -c -; success=; for url in $TOMCAT_ASC_URLS; do if wget -O tomcat.tar.gz.asc "$url"; then success=1; break; fi; done; [ -n "$success" ]; gpg --batch --verify tomcat.tar.gz.asc tomcat.tar.gz; tar -xvf tomcat.tar.gz --strip-components=1; rm bin/*.bat; rm tomcat.tar.gz*; command -v gpgconf && gpgconf --kill all || :; rm -rf "$GNUPGHOME"; nativeBuildDir="$(mktemp -d)"; tar -xvf bin/tomcat-native.tar.gz -C "$nativeBuildDir" --strip-components=1; apt-get install -y --no-install-recommends dpkg-dev gcc libapr1-dev libssl-dev make "openjdk-${JAVA_VERSION%%[.~bu-]*}-jdk=$JAVA_DEBIAN_VERSION" ; ( export CATALINA_HOME="$PWD"; cd "$nativeBuildDir/native"; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --libdir="$TOMCAT_NATIVE_LIBDIR" --prefix="$CATALINA_HOME" --with-apr="$(which apr-1-config)" --with-java-home="$(docker-java-home)" --with-ssl=yes; make -j "$(nproc)"; make install; ); rm -rf "$nativeBuildDir"; rm bin/tomcat-native.tar.gz; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; find ./bin/ -name '*.sh' -exec sed -ri 's|^#!/bin/sh$|#!/usr/bin/env bash|' '{}' +; chmod -R +rX .; chmod 777 logs work

2019-05-14 00:33:09 UTC

/bin/sh -c set -e && nativeLines="$(catalina.sh configtest 2>&1)" && nativeLines="$(echo "$nativeLines" | grep 'Apache Tomcat Native')" && nativeLines="$(echo "$nativeLines" | sort -u)" && if ! echo "$nativeLines" | grep 'INFO: Loaded APR based Apache Tomcat Native library' >&2; then echo >&2 "$nativeLines"; exit 1; fi

2019-05-14 00:33:10 UTC

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

2019-05-14 00:33:10 UTC

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

Details
Created

2019-05-14 00:31:17 UTC

Size

144 MB

Content Digest
Environment
CATALINA_HOME

/usr/local/tomcat

GPG_KEYS

05AB33110949707C93A279E3D3EFE6B686867BA6 07E48665A34DCAFAE522E5E6266191C37C037D42 47309207D818FFD8DCD3F83F1931D684307A10A5 541FBE7D8F78B25E055DDEE13C370389288584E7 61B832AC2F1C5A90F0F9B00A1C506407564C17A3 713DA88BE50911535FE716F5208B0AB1D63011C7 79F7026C690BAA50B92CD8B66A3AD3F4F22C4FED 9BA44C2621385CB966EBA586F72C284D731FABEE A27677289986DB50844682F8ACB77FC2E86E29AC A9C5DF4D22E99998D9875A5110C01C5A2F6059E7 DCFD35E0BF8CA7344752DE8B6FB21E8933C60243 F3A04C595DB5B6A5F1ECA43E3B7BBB100D811BBE F7DA48BB64BCB84ECBA7EE6935CD23C10D498E23

JAVA_DEBIAN_VERSION

7u221-2.6.18-1~deb8u1

JAVA_HOME

/docker-java-home/jre

JAVA_VERSION

7u221

LANG

C.UTF-8

LD_LIBRARY_PATH

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

OPENSSL_VERSION

1.1.0j-1~deb9u1

PATH

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

TOMCAT_ASC_URLS

https://www.apache.org/dyn/closer.cgi?action=download&filename=tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc https://www-us.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc https://www.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc

TOMCAT_MAJOR

7

TOMCAT_NATIVE_LIBDIR

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

TOMCAT_SHA512

b16f4b08591199e15f953c34965389a80d5597c28626a51c71ce42695ddd3359dc4df7f333ef0e1a1e8f9b2b6245041d57607c46764f33e560246c119cdc0f7a

TOMCAT_TGZ_URLS

https://www.apache.org/dyn/closer.cgi?action=download&filename=tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz https://www-us.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz https://www.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz

TOMCAT_VERSION

7.0.94


Layers

[#000] sha256:15cfb32571a95dcaa3a8408897c92bd923327a52abf09ce9c125ed6b5e9257ef - 33.26% (48 MB)

[#001] sha256:284ec6226ea641062369562b37a4579db6937f39a7a9f2141e2aee7b588399c8 - 11.06% (15.9 MB)

[#002] sha256:017beffb8b23665d3f1bfdcb56a278510037d249ac21c0a493a6da43357db7c7 - 0.5% (745 KB)

[#003] sha256:74637465dc72fdd6abbdbe209e7f14282b804bd972b94fe8c5193a26a70851b6 - 0.0% (247 Bytes)

[#004] sha256:03aaffeaa1278167851170a5e71b1b27817427d4b7521998d3b895d92e29033e - 0.0% (130 Bytes)

[#005] sha256:2a9174e14c812191ba1457bbcd8d776518599762fdc9ab0f5b2e130a4f5ff211 - 46.35% (66.8 MB)

[#006] sha256:28e83cca31e9c8fe2b99f35e6f8863686914723fed4b183e3a0104d0224120b7 - 0.0% (183 Bytes)

[#007] sha256:49505e280c62dec1d20c089d532dc68b03c1e5d8d9660318eb0d0cbaff112237 - 1.85% (2.67 MB)

[#008] sha256:ea9ac32f2c38c137a5f3a4bc00c9dc90d19d019b275306409d826662db595830 - 0.34% (497 KB)

[#009] sha256:772a9d458c3a5efe4703ee58acde91943dbfbc1321abd1b31fff79fc00105c2c - 6.64% (9.58 MB)

[#010] sha256:ba29ad1637787d242f9ad96d4d30aa953995c51253d79bb60f931b6d330c5251 - 0.0% (130 Bytes)


History
2019-05-08 11:59:37 UTC

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

2019-05-08 11:59:38 UTC

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

2019-05-08 12:56:15 UTC

/bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl netbase wget && rm -rf /var/lib/apt/lists/*

2019-05-08 12:56:17 UTC

/bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr ; rm -rf /var/lib/apt/lists/*; fi

2019-05-08 14:24:12 UTC

/bin/sh -c apt-get update && apt-get install -y --no-install-recommends bzip2 unzip xz-utils && rm -rf /var/lib/apt/lists/*

2019-05-08 14:24:13 UTC

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

2019-05-08 14:24:16 UTC

/bin/sh -c { echo '#!/bin/sh'; echo 'set -e'; echo; echo 'dirname "$(dirname "$(readlink -f "$(which javac || which java)")")"'; } > /usr/local/bin/docker-java-home && chmod +x /usr/local/bin/docker-java-home

2019-05-08 14:24:19 UTC

/bin/sh -c ln -svT "/usr/lib/jvm/java-7-openjdk-$(dpkg --print-architecture)" /docker-java-home

2019-05-08 14:24:20 UTC

/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home/jre

2019-05-14 00:03:15 UTC

/bin/sh -c #(nop) ENV JAVA_VERSION=7u221

2019-05-14 00:03:16 UTC

/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=7u221-2.6.18-1~deb8u1

2019-05-14 00:04:57 UTC

/bin/sh -c set -ex; if [ ! -d /usr/share/man/man1 ]; then mkdir -p /usr/share/man/man1; fi; apt-get update; apt-get install -y --no-install-recommends openjdk-7-jre="$JAVA_DEBIAN_VERSION" ; rm -rf /var/lib/apt/lists/*; [ "$(readlink -f "$JAVA_HOME")" = "$(docker-java-home)" ]; update-alternatives --get-selections | awk -v home="$(readlink -f "$JAVA_HOME")" 'index($3, home) == 1 { $2 = "manual"; print | "update-alternatives --set-selections" }'; update-alternatives --query java | grep -q 'Status: manual'

2019-05-14 00:25:44 UTC

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

2019-05-14 00:25:44 UTC

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

2019-05-14 00:25:46 UTC

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

2019-05-14 00:25:46 UTC

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

2019-05-14 00:25:47 UTC

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

2019-05-14 00:25:47 UTC

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

2019-05-14 00:25:48 UTC

/bin/sh -c #(nop) ENV OPENSSL_VERSION=1.1.0j-1~deb9u1

2019-05-14 00:26:56 UTC

/bin/sh -c set -ex; currentVersion="$(dpkg-query --show --showformat '${Version}\n' openssl)"; if dpkg --compare-versions "$currentVersion" '<<' "$OPENSSL_VERSION"; then if ! grep -q stretch /etc/apt/sources.list; then { echo 'deb http://deb.debian.org/debian stretch main'; echo 'deb http://security.debian.org stretch/updates main'; echo 'deb http://deb.debian.org/debian stretch-updates main'; } > /etc/apt/sources.list.d/stretch.list; { echo 'Package: *'; echo 'Pin: release n=stretch*'; echo 'Pin-Priority: -10'; echo; echo 'Package: openssl libssl*'; echo "Pin: version $OPENSSL_VERSION"; echo 'Pin-Priority: 990'; } > /etc/apt/preferences.d/stretch-openssl; fi; apt-get update; apt-get install -y --no-install-recommends openssl="$OPENSSL_VERSION"; rm -rf /var/lib/apt/lists/*; fi

2019-05-14 00:28:00 UTC

/bin/sh -c apt-get update && apt-get install -y --no-install-recommends libapr1 && rm -rf /var/lib/apt/lists/*

2019-05-14 00:28:00 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=05AB33110949707C93A279E3D3EFE6B686867BA6 07E48665A34DCAFAE522E5E6266191C37C037D42 47309207D818FFD8DCD3F83F1931D684307A10A5 541FBE7D8F78B25E055DDEE13C370389288584E7 61B832AC2F1C5A90F0F9B00A1C506407564C17A3 713DA88BE50911535FE716F5208B0AB1D63011C7 79F7026C690BAA50B92CD8B66A3AD3F4F22C4FED 9BA44C2621385CB966EBA586F72C284D731FABEE A27677289986DB50844682F8ACB77FC2E86E29AC A9C5DF4D22E99998D9875A5110C01C5A2F6059E7 DCFD35E0BF8CA7344752DE8B6FB21E8933C60243 F3A04C595DB5B6A5F1ECA43E3B7BBB100D811BBE F7DA48BB64BCB84ECBA7EE6935CD23C10D498E23

2019-05-14 00:28:01 UTC

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

2019-05-14 00:28:01 UTC

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

2019-05-14 00:28:02 UTC

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

2019-05-14 00:28:02 UTC

/bin/sh -c #(nop) ENV TOMCAT_TGZ_URLS=https://www.apache.org/dyn/closer.cgi?action=download&filename=tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz https://www-us.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz https://www.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz

2019-05-14 00:28:02 UTC

/bin/sh -c #(nop) ENV TOMCAT_ASC_URLS=https://www.apache.org/dyn/closer.cgi?action=download&filename=tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc https://www-us.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc https://www.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz.asc

2019-05-14 00:31:12 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; done; apt-get install -y --no-install-recommends wget ca-certificates; success=; for url in $TOMCAT_TGZ_URLS; do if wget -O tomcat.tar.gz "$url"; then success=1; break; fi; done; [ -n "$success" ]; echo "$TOMCAT_SHA512 *tomcat.tar.gz" | sha512sum -c -; success=; for url in $TOMCAT_ASC_URLS; do if wget -O tomcat.tar.gz.asc "$url"; then success=1; break; fi; done; [ -n "$success" ]; gpg --batch --verify tomcat.tar.gz.asc tomcat.tar.gz; tar -xvf tomcat.tar.gz --strip-components=1; rm bin/*.bat; rm tomcat.tar.gz*; command -v gpgconf && gpgconf --kill all || :; rm -rf "$GNUPGHOME"; nativeBuildDir="$(mktemp -d)"; tar -xvf bin/tomcat-native.tar.gz -C "$nativeBuildDir" --strip-components=1; apt-get install -y --no-install-recommends dpkg-dev gcc libapr1-dev libssl-dev make "openjdk-${JAVA_VERSION%%[.~bu-]*}-jdk=$JAVA_DEBIAN_VERSION" ; ( export CATALINA_HOME="$PWD"; cd "$nativeBuildDir/native"; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --libdir="$TOMCAT_NATIVE_LIBDIR" --prefix="$CATALINA_HOME" --with-apr="$(which apr-1-config)" --with-java-home="$(docker-java-home)" --with-ssl=yes; make -j "$(nproc)"; make install; ); rm -rf "$nativeBuildDir"; rm bin/tomcat-native.tar.gz; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; find ./bin/ -name '*.sh' -exec sed -ri 's|^#!/bin/sh$|#!/usr/bin/env bash|' '{}' +; chmod -R +rX .; chmod 777 logs work

2019-05-14 00:31:16 UTC

/bin/sh -c set -e && nativeLines="$(catalina.sh configtest 2>&1)" && nativeLines="$(echo "$nativeLines" | grep 'Apache Tomcat Native')" && nativeLines="$(echo "$nativeLines" | sort -u)" && if ! echo "$nativeLines" | grep 'INFO: Loaded APR based Apache Tomcat Native library' >&2; then echo >&2 "$nativeLines"; exit 1; fi

2019-05-14 00:31:17 UTC

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

2019-05-14 00:31:17 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