Namespace
library
Image / Tag
tomcat:8.0.52-slim
Content Digest
sha256:d5fba1f5ef2eed2f92b6adf19d20a6a2f3f5c3f648750607320ccf41ff4497b3
Details
Created

2018-06-27 17:38:48 UTC

Size

112 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

7u181-2.6.14-1~deb8u1

JAVA_HOME

/docker-java-home/jre

JAVA_VERSION

7u181

LANG

C.UTF-8

LD_LIBRARY_PATH

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

OPENSSL_VERSION

1.1.0f-3+deb9u2

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-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz.asc https://www-us.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz.asc https://www.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz.asc https://archive.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz.asc

TOMCAT_MAJOR

8

TOMCAT_NATIVE_LIBDIR

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

TOMCAT_SHA512

23ba3c005d2e1bff30360a7aca5882ba7acaef0001395b1f77eb182c1f9c6a48db7f39b9f71ebdfb20668eca32c5f03bf00364f77d47e368850a794f6d65ea56

TOMCAT_TGZ_URLS

https://www.apache.org/dyn/closer.cgi?action=download&filename=tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz https://www-us.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz https://www.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz https://archive.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz

TOMCAT_VERSION

8.0.52


Layers

[#000] sha256:754ff349eaaa3314a657ce6b24abe2a9d237430ab3b66d7bd2b21113499d68ff - 25.79% (28.9 MB)

[#001] sha256:b0ecc1d61c7e4f9d92c42aa04c2c34df4a177075b5e03757cd2e9763398cdfeb - 0.4% (455 KB)

[#002] sha256:c6c7e2782264f446bd837b4d66b7a139ab8eaa08fc2cd1b899df57f6d2209fcd - 0.0% (247 Bytes)

[#003] sha256:104cf7f40f84e06d4be0be1bb678f84432eedb0d07eaab0f1e54bccfd21e2e40 - 0.0% (131 Bytes)

[#004] sha256:2821d86a80de17c528d3a7ff0248c524ab79da82e3af7c78d7f0d60305625f53 - 62.45% (69.9 MB)

[#005] sha256:7ae7e4ac2536155457c6675c2259d34b5776ba54f028257596f8d5ab49ef6cc9 - 0.0% (148 Bytes)

[#006] sha256:923f7cb4c613ca6a74b92db640cbaf64ea5da7f1d62472e56186eb68b9059cc0 - 2.02% (2.26 MB)

[#007] sha256:af05a168d3fb984ac5fd37d643872f5820f078e96066a8a6cfcf8efff9cee44d - 0.43% (487 KB)

[#008] sha256:1684e79872a55445dea2f9e644a03df5489e0f3d76332e3194061d24b7f78098 - 8.91% (9.98 MB)

[#009] sha256:b7457bce450d941030655f86bf7805893a336b553c41ab09c7267160a9e6abe0 - 0.0% (164 Bytes)


History
2018-06-27 10:40:54 UTC

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

2018-06-27 10:40:55 UTC

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

2018-06-27 15:20:03 UTC

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

2018-06-27 15:20:03 UTC

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

2018-06-27 15:20:04 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

2018-06-27 15:20:05 UTC

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

2018-06-27 15:24:35 UTC

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

2018-06-27 15:24:35 UTC

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

2018-06-27 15:24:36 UTC

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

2018-06-27 15:25:40 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-headless="$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'

2018-06-27 17:24:15 UTC

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

2018-06-27 17:24:16 UTC

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

2018-06-27 17:24:17 UTC

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

2018-06-27 17:24:17 UTC

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

2018-06-27 17:24:17 UTC

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

2018-06-27 17:24:17 UTC

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

2018-06-27 17:24:17 UTC

/bin/sh -c #(nop) ENV OPENSSL_VERSION=1.1.0f-3+deb9u2

2018-06-27 17:25:12 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

2018-06-27 17:26:10 UTC

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

2018-06-27 17:26:10 UTC

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

2018-06-27 17:35:12 UTC

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

2018-06-27 17:35:12 UTC

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

2018-06-27 17:35:12 UTC

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

2018-06-27 17:35:12 UTC

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

2018-06-27 17:35:12 UTC

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

2018-06-27 17:38:38 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 --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*; 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|' '{}' +

2018-06-27 17:38:48 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

2018-06-27 17:38:48 UTC

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

2018-06-27 17:38:48 UTC

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

Details
Created

2018-06-27 07:07:42 UTC

Size

101 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

7u181-2.6.14-1~deb8u1

JAVA_HOME

/docker-java-home/jre

JAVA_VERSION

7u181

LANG

C.UTF-8

LD_LIBRARY_PATH

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

OPENSSL_VERSION

1.1.0f-3+deb9u2

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-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz.asc https://www-us.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz.asc https://www.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz.asc https://archive.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz.asc

TOMCAT_MAJOR

8

TOMCAT_NATIVE_LIBDIR

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

TOMCAT_SHA512

23ba3c005d2e1bff30360a7aca5882ba7acaef0001395b1f77eb182c1f9c6a48db7f39b9f71ebdfb20668eca32c5f03bf00364f77d47e368850a794f6d65ea56

TOMCAT_TGZ_URLS

https://www.apache.org/dyn/closer.cgi?action=download&filename=tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz https://www-us.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz https://www.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz https://archive.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz

TOMCAT_VERSION

8.0.52


Layers

[#000] sha256:2caa28db99eb312c788669036f0bf3914f73f5a27a30f69d2a7443fce10eb882 - 28.48% (28.7 MB)

[#001] sha256:b466fd40b39060e96cf1326c3764f3186bb062bb692cf9f130d477fdccf9aaf1 - 0.44% (453 KB)

[#002] sha256:e5d0ac1dcec173c9698e3586eb1889ea24d359fbd1f735863f5742072496ece6 - 0.0% (247 Bytes)

[#003] sha256:a711da6835f07d1b38e4677dafe89be66bb2a1de6dc07f652c470b58a22152ed - 0.0% (131 Bytes)

[#004] sha256:d9ad9a40fa41c09e5a8700cdd5a91bd8f2b80a8036f57db7cc357c09b15a37a2 - 58.35% (58.8 MB)

[#005] sha256:39c197fa011aca0e025250fda63c39a2c74d5f6cb4beeeab50a74218121c5fc2 - 0.0% (149 Bytes)

[#006] sha256:d4747720c99f15bea661501a8709770b0da50ef83b23c80248f93b981dbdc5a1 - 2.24% (2.26 MB)

[#007] sha256:9a66fd5899131b3ec6ccf5778724fafdcea13d3f239b856b94d7175e7d525d1f - 0.46% (477 KB)

[#008] sha256:2e8c1aefede68feb8658304016b458925c4e63d29101545adbc6a126438a0f77 - 10.02% (10.1 MB)

[#009] sha256:0d82b5423c3473c7557e01562dc7ec76938ab5423e05709372cd33f90c51d309 - 0.0% (165 Bytes)


History
2018-06-26 21:21:17 UTC

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

2018-06-26 21:21:18 UTC

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

2018-06-26 23:33:57 UTC

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

2018-06-26 23:33:58 UTC

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

2018-06-26 23:33:59 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

2018-06-26 23:33:59 UTC

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

2018-06-26 23:37:09 UTC

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

2018-06-26 23:37:09 UTC

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

2018-06-26 23:37:09 UTC

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

2018-06-26 23:38:08 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-headless="$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'

2018-06-27 06:53:35 UTC

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

2018-06-27 06:53:35 UTC

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

2018-06-27 06:53:36 UTC

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

2018-06-27 06:53:36 UTC

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

2018-06-27 06:53:36 UTC

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

2018-06-27 06:53:37 UTC

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

2018-06-27 06:53:37 UTC

/bin/sh -c #(nop) ENV OPENSSL_VERSION=1.1.0f-3+deb9u2

2018-06-27 06:54:16 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

2018-06-27 06:54:52 UTC

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

2018-06-27 06:54:53 UTC

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

2018-06-27 07:05:11 UTC

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

2018-06-27 07:05:11 UTC

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

2018-06-27 07:05:11 UTC

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

2018-06-27 07:05:12 UTC

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

2018-06-27 07:05:12 UTC

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

2018-06-27 07:07:39 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 --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*; 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|' '{}' +

2018-06-27 07:07:41 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

2018-06-27 07:07:42 UTC

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

2018-06-27 07:07:42 UTC

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

Details
Created

2018-06-27 16:01:51 UTC

Size

89.2 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

7u181-2.6.14-1~deb8u1

JAVA_HOME

/docker-java-home/jre

JAVA_VERSION

7u181

LANG

C.UTF-8

LD_LIBRARY_PATH

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

OPENSSL_VERSION

1.1.0f-3+deb9u2

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-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz.asc https://www-us.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz.asc https://www.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz.asc https://archive.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz.asc

TOMCAT_MAJOR

8

TOMCAT_NATIVE_LIBDIR

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

TOMCAT_SHA512

23ba3c005d2e1bff30360a7aca5882ba7acaef0001395b1f77eb182c1f9c6a48db7f39b9f71ebdfb20668eca32c5f03bf00364f77d47e368850a794f6d65ea56

TOMCAT_TGZ_URLS

https://www.apache.org/dyn/closer.cgi?action=download&filename=tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz https://www-us.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz https://www.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz https://archive.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz

TOMCAT_VERSION

8.0.52


Layers

[#000] sha256:174cee00e71be1a79f61029d2ef1a01e0060cb74e2d18dc5aca18cbea3159528 - 30.4% (27.1 MB)

[#001] sha256:a502f46feaf43e90f170639559ea3f575f855d4dbd5f942544851c62d5b04f7b - 0.49% (446 KB)

[#002] sha256:ba9452e24aa94632019691517d67876e62050292ad552dd5960429943406beda - 0.0% (248 Bytes)

[#003] sha256:64e84410dfaeb9b116e226930dbeee42f39ad8c9611864e13f5a0d592ad0f788 - 0.0% (128 Bytes)

[#004] sha256:b70114ba635c2d587b0cce6997d13092a296ee0e12cc783273483de8cf5b02bf - 55.07% (49.1 MB)

[#005] sha256:748f567d397c5bd83f0b334190c11ab7a31e30c28fc975eca4f69c7cd33f2855 - 0.0% (183 Bytes)

[#006] sha256:cb9e8fdd1f82693b44bd0a56af493a3106bf03a327d43905d64ddc5541f2c318 - 2.25% (2 MB)

[#007] sha256:e40e7a154272ef032f7fb1aef4806f6eb3e1ad27890094a049b8afd5320f92f4 - 0.51% (464 KB)

[#008] sha256:0bde5f46113ac61b5702cad8f1050191f8d37f88e2eb7e691a2c7a7972f09d07 - 11.29% (10.1 MB)

[#009] sha256:616f3ee9a511d92647dcf8bfb22f28a081491180acaf486e3ff8742863e61b53 - 0.0% (130 Bytes)


History
2018-06-27 08:50:04 UTC

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

2018-06-27 08:50:04 UTC

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

2018-06-27 12:40:29 UTC

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

2018-06-27 12:40:30 UTC

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

2018-06-27 12:40:31 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

2018-06-27 12:40:32 UTC

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

2018-06-27 12:44:03 UTC

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

2018-06-27 12:44:04 UTC

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

2018-06-27 12:44:04 UTC

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

2018-06-27 12:45:03 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-headless="$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'

2018-06-27 15:50:18 UTC

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

2018-06-27 15:50:18 UTC

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

2018-06-27 15:50:19 UTC

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

2018-06-27 15:50:19 UTC

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

2018-06-27 15:50:20 UTC

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

2018-06-27 15:50:20 UTC

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

2018-06-27 15:50:20 UTC

/bin/sh -c #(nop) ENV OPENSSL_VERSION=1.1.0f-3+deb9u2

2018-06-27 15:50:54 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

2018-06-27 15:51:29 UTC

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

2018-06-27 15:51:30 UTC

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

2018-06-27 15:59:38 UTC

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

2018-06-27 15:59:39 UTC

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

2018-06-27 15:59:39 UTC

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

2018-06-27 15:59:39 UTC

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

2018-06-27 15:59:40 UTC

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

2018-06-27 16:01:47 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 --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*; 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|' '{}' +

2018-06-27 16:01:50 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

2018-06-27 16:01:50 UTC

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

2018-06-27 16:01:51 UTC

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

Details
Created

2018-06-27 19:21:24 UTC

Size

85.9 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

7u181-2.6.14-1~deb8u1

JAVA_HOME

/docker-java-home/jre

JAVA_VERSION

7u181

LANG

C.UTF-8

LD_LIBRARY_PATH

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

OPENSSL_VERSION

1.1.0f-3+deb9u2

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-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz.asc https://www-us.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz.asc https://www.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz.asc https://archive.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz.asc

TOMCAT_MAJOR

8

TOMCAT_NATIVE_LIBDIR

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

TOMCAT_SHA512

23ba3c005d2e1bff30360a7aca5882ba7acaef0001395b1f77eb182c1f9c6a48db7f39b9f71ebdfb20668eca32c5f03bf00364f77d47e368850a794f6d65ea56

TOMCAT_TGZ_URLS

https://www.apache.org/dyn/closer.cgi?action=download&filename=tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz https://www-us.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz https://www.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz https://archive.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz

TOMCAT_VERSION

8.0.52


Layers

[#000] sha256:105c2fdbbcba2943a690f8b934af14483b01cb2fa01aa43b8ba23a69fe311f0a - 29.17% (25.1 MB)

[#001] sha256:2b343c93eb35a5e886b173446a6458741c5c87f902294f250126b23259952bdc - 0.48% (422 KB)

[#002] sha256:4a974d8d35792e7b59b655ba3b252d90fd0fb0d0eb7224804cfccbac6d3bd7c3 - 0.0% (247 Bytes)

[#003] sha256:546f6bc13ab53f407541154b4a917687e37c720306ea9dabd0c676ab4bd81296 - 0.0% (130 Bytes)

[#004] sha256:a9e23da653fcd20d8294c19ba5590f9a8245e790e3e408c38c0003e5a10ea2d9 - 55.89% (48 MB)

[#005] sha256:73543a62629cc3776be15acf0b8bf685d4793065fafc2e94b4dafb0d097fa7eb - 0.0% (183 Bytes)

[#006] sha256:3ce84b59778d4fbf12b31432cb05321afb362f4ae77bc7d09dbd4dd66a6559dd - 2.25% (1.93 MB)

[#007] sha256:f7938f4c8799c50ea8078dc3160943d9be1c3cd6313068a2736f04ae6ee70915 - 0.52% (455 KB)

[#008] sha256:9861db21827f2b5106451d03b3acc92c078aeb0341e577499b4e44f19e46a5ce - 11.69% (10 MB)

[#009] sha256:992aa7f57e6ec9ccfd87fb9a621ae9b19050dc5010e47f7b23c207dee7c0cd2c - 0.0% (131 Bytes)


History
2018-06-27 11:59:29 UTC

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

2018-06-27 11:59:29 UTC

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

2018-06-27 15:36:16 UTC

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

2018-06-27 15:36:20 UTC

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

2018-06-27 15:36:21 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

2018-06-27 15:36:27 UTC

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

2018-06-27 15:39:33 UTC

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

2018-06-27 15:39:33 UTC

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

2018-06-27 15:39:33 UTC

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

2018-06-27 15:40:24 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-headless="$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'

2018-06-27 19:13:55 UTC

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

2018-06-27 19:13:56 UTC

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

2018-06-27 19:13:57 UTC

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

2018-06-27 19:13:57 UTC

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

2018-06-27 19:13:57 UTC

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

2018-06-27 19:13:58 UTC

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

2018-06-27 19:13:58 UTC

/bin/sh -c #(nop) ENV OPENSSL_VERSION=1.1.0f-3+deb9u2

2018-06-27 19:14:28 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

2018-06-27 19:14:59 UTC

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

2018-06-27 19:14:59 UTC

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

2018-06-27 19:19:26 UTC

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

2018-06-27 19:19:26 UTC

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

2018-06-27 19:19:26 UTC

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

2018-06-27 19:19:26 UTC

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

2018-06-27 19:19:27 UTC

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

2018-06-27 19:21:20 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 --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*; 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|' '{}' +

2018-06-27 19:21:23 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

2018-06-27 19:21:24 UTC

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

2018-06-27 19:21:24 UTC

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

Details
Created

2018-06-12 15:31:18 UTC

Size

92 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

7u181-2.6.14-1~deb8u1

JAVA_HOME

/docker-java-home/jre

JAVA_VERSION

7u181

LANG

C.UTF-8

LD_LIBRARY_PATH

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

OPENSSL_VERSION

1.1.0f-3+deb9u2

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-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz.asc https://www-us.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz.asc https://www.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz.asc https://archive.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz.asc

TOMCAT_MAJOR

8

TOMCAT_NATIVE_LIBDIR

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

TOMCAT_SHA512

23ba3c005d2e1bff30360a7aca5882ba7acaef0001395b1f77eb182c1f9c6a48db7f39b9f71ebdfb20668eca32c5f03bf00364f77d47e368850a794f6d65ea56

TOMCAT_TGZ_URLS

https://www.apache.org/dyn/closer.cgi?action=download&filename=tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz https://www-us.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz https://www.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz https://archive.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz

TOMCAT_VERSION

8.0.52


Layers

[#000] sha256:6d46b8f3eebfe36e412a394de4bf8a598e22d1fe11cd6b35f34e770473c170ea - 28.51% (26.2 MB)

[#001] sha256:66c67f48d3f95f879f0a16939897151d838aeae71743f184d41d557ba719f896 - 0.47% (447 KB)

[#002] sha256:75e4f5df17d67da29d0f5e8846dfb76e7f541e3c84f16d804a52313cf3f2d755 - 0.0% (247 Bytes)

[#003] sha256:825cf0a868d42f586b37204e4c5bbc1ab2668b7d1d01156e2be933557a5fe1fd - 0.0% (131 Bytes)

[#004] sha256:bf1edf8ee0b889466a9d616f24b0813e30e963842440ad3ffae5b30c1750b7fd - 55.12% (50.7 MB)

[#005] sha256:1cc688404c5a03c23732be3a4c8e8bb2b0a4674df08bcae09334e45bd6a19880 - 0.0% (150 Bytes)

[#006] sha256:db71c134851bae44e826ec9b9ba31797d0d2bdc06ef149d8b04380d5fd17534b - 2.16% (1.99 MB)

[#007] sha256:2011e472f9d53abd19aeb0c663cdc37c9d1fd0e19192b45e25be87a79f1e1aa7 - 0.49% (464 KB)

[#008] sha256:59a4531173452027d064d09d394adac3e1bc59827a17c2d536428dd407b70a44 - 13.25% (12.2 MB)

[#009] sha256:5b5392344fe6360983a246de362e02eff8f2ca72b52161383a67d2c58a2c062f - 0.0% (131 Bytes)


History
2018-04-30 23:23:15 UTC

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

2018-04-30 23:23:18 UTC

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

2018-05-01 11:19:34 UTC

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

2018-05-01 11:19:37 UTC

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

2018-05-01 11:19:46 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

2018-05-01 11:19:53 UTC

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

2018-05-01 11:19:56 UTC

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

2018-06-12 09:33:43 UTC

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

2018-06-12 09:33:44 UTC

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

2018-06-12 09:36:48 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-headless="$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'

2018-06-12 15:10:15 UTC

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

2018-06-12 15:10:16 UTC

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

2018-06-12 15:10:19 UTC

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

2018-06-12 15:10:19 UTC

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

2018-06-12 15:10:20 UTC

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

2018-06-12 15:10:21 UTC

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

2018-06-12 15:10:22 UTC

/bin/sh -c #(nop) ENV OPENSSL_VERSION=1.1.0f-3+deb9u2

2018-06-12 15:10:53 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

2018-06-12 15:11:19 UTC

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

2018-06-12 15:11:20 UTC

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

2018-06-12 15:23:07 UTC

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

2018-06-12 15:23:08 UTC

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

2018-06-12 15:23:09 UTC

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

2018-06-12 15:23:10 UTC

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

2018-06-12 15:23:11 UTC

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

2018-06-12 15: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 --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*; 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|' '{}' +

2018-06-12 15: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

2018-06-12 15:31:17 UTC

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

2018-06-12 15:31:18 UTC

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

Details
Created

2018-06-12 10:22:19 UTC

Size

94.6 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

7u181-2.6.14-1~deb8u1

JAVA_HOME

/docker-java-home/jre

JAVA_VERSION

7u181

LANG

C.UTF-8

LD_LIBRARY_PATH

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

OPENSSL_VERSION

1.1.0f-3+deb9u2

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-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz.asc https://www-us.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz.asc https://www.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz.asc https://archive.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz.asc

TOMCAT_MAJOR

8

TOMCAT_NATIVE_LIBDIR

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

TOMCAT_SHA512

23ba3c005d2e1bff30360a7aca5882ba7acaef0001395b1f77eb182c1f9c6a48db7f39b9f71ebdfb20668eca32c5f03bf00364f77d47e368850a794f6d65ea56

TOMCAT_TGZ_URLS

https://www.apache.org/dyn/closer.cgi?action=download&filename=tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz https://www-us.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz https://www.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz https://archive.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz

TOMCAT_VERSION

8.0.52


Layers

[#000] sha256:7745ff03a317ccaa10ff03129a2330b1c154aecaf51a892b7d99d5e1dbeb86cc - 29.56% (28 MB)

[#001] sha256:904d9cae5b4e13977b3a3f5da2837f3842b44dd1ad001f63bae91c193e6384e7 - 0.46% (449 KB)

[#002] sha256:49f46e6678f464aca7e6dd6754f68d28005443749f3cbf76be8b3e676a6947a1 - 0.0% (247 Bytes)

[#003] sha256:3f5e5c5eac28805942423bb472b259179da4051103daa04229bfb914fbd74006 - 0.0% (132 Bytes)

[#004] sha256:9ca3a142c12e23c3c950f6347af8ac0692eb2e5ea8b99ab4589146d7c264dcfb - 54.4% (51.5 MB)

[#005] sha256:3bda390b6faeafb45ff9418a5702fd3635ff4e8c643c97f9d01de772cf8e8722 - 0.0% (183 Bytes)

[#006] sha256:fe240aff91494570c59de348e4f01db03f75d78e1a26809571270e2d59d0eb0c - 2.05% (1.94 MB)

[#007] sha256:7288a05e5e6aff4b396ba99755d83e20374252266526e1779b3d5a91044a74cf - 0.49% (472 KB)

[#008] sha256:afcf6537aa430c87971db163c4d9c4cf258f9be407fc3885061350ba468e70cf - 13.04% (12.3 MB)

[#009] sha256:2fec1e52ad7379a932386fc9d4c5fd6dcd2c5e1c6ddecf0af314889260e6d0ba - 0.0% (131 Bytes)


History
2018-04-28 08:18:08 UTC

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

2018-04-28 08:18:09 UTC

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

2018-04-28 09:38:34 UTC

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

2018-04-28 09:38:39 UTC

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

2018-04-28 09:38:41 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

2018-04-28 09:38:43 UTC

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

2018-04-28 09:38:43 UTC

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

2018-06-12 09:00:20 UTC

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

2018-06-12 09:00:20 UTC

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

2018-06-12 09:03:43 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-headless="$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'

2018-06-12 10:00:07 UTC

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

2018-06-12 10:00:08 UTC

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

2018-06-12 10:00:10 UTC

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

2018-06-12 10:00:11 UTC

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

2018-06-12 10:00:12 UTC

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

2018-06-12 10:00:14 UTC

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

2018-06-12 10:00:15 UTC

/bin/sh -c #(nop) ENV OPENSSL_VERSION=1.1.0f-3+deb9u2

2018-06-12 10:01:19 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

2018-06-12 10:02:17 UTC

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

2018-06-12 10:02:19 UTC

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

2018-06-12 10:16:29 UTC

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

2018-06-12 10:16:30 UTC

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

2018-06-12 10:16:31 UTC

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

2018-06-12 10:16:33 UTC

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

2018-06-12 10:16:34 UTC

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

2018-06-12 10:22:14 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 --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*; 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|' '{}' +

2018-06-12 10:22:17 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

2018-06-12 10:22:18 UTC

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

2018-06-12 10:22:19 UTC

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

Details
Created

2018-06-12 12:28:58 UTC

Size

95.3 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

7u181-2.6.14-1~deb8u1

JAVA_HOME

/docker-java-home/jre

JAVA_VERSION

7u181

LANG

C.UTF-8

LD_LIBRARY_PATH

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

OPENSSL_VERSION

1.1.0f-3+deb9u2

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-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz.asc https://www-us.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz.asc https://www.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz.asc https://archive.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz.asc

TOMCAT_MAJOR

8

TOMCAT_NATIVE_LIBDIR

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

TOMCAT_SHA512

23ba3c005d2e1bff30360a7aca5882ba7acaef0001395b1f77eb182c1f9c6a48db7f39b9f71ebdfb20668eca32c5f03bf00364f77d47e368850a794f6d65ea56

TOMCAT_TGZ_URLS

https://www.apache.org/dyn/closer.cgi?action=download&filename=tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz https://www-us.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz https://www.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz https://archive.apache.org/dist/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz

TOMCAT_VERSION

8.0.52


Layers

[#000] sha256:f4d03f2765a5584a0dc02af25ffd7c98d6e129d072a1fc30380b106603442102 - 30.32% (28.9 MB)

[#001] sha256:53dd73eb8e6bfd44480a404637dfc711eb6cfa167bcacd7b692ee13e269920ad - 0.47% (462 KB)

[#002] sha256:0b4b07ff4fb390ce7c50cd1a3f4c1856608817a2e55147026b2113f0e1c9d057 - 0.0% (248 Bytes)

[#003] sha256:3f7c4bb4187f99b40f5b149b933b5730667a7287c28f52903d444450e9881cc3 - 0.0% (131 Bytes)

[#004] sha256:0cc1d361c375e259ee4ff746658325c9d05ea18dfb10b83d79707f5b7e7d7758 - 53.52% (51 MB)

[#005] sha256:fdeeaa545c077a9b6af807a15042eb116afc1b66ab70ddafd7af6d46a530a936 - 0.0% (149 Bytes)

[#006] sha256:c0d22c418435a8f7dfe2f54f9501bf69e44f40c4e8f888233aebd9257470c83f - 2.11% (2.01 MB)

[#007] sha256:0b660c84ef3e74131cdc6d4c2bc424ea2b8b4be80454d312063b089da519d789 - 0.49% (482 KB)

[#008] sha256:66f8adbb0c91dd31c1d574a752be854a11d7a42976d3efdb24889d00b5e84612 - 13.08% (12.5 MB)

[#009] sha256:812479d0991c606cee2823e6d1bc973063ab0ba3d4b2f3480d890e500c2d30e9 - 0.0% (130 Bytes)


History
2018-04-28 11:42:53 UTC

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

2018-04-28 11:42:55 UTC

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

2018-04-28 14:33:29 UTC

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

2018-04-28 14:33:30 UTC

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

2018-04-28 14:33:30 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

2018-04-28 14:33:31 UTC

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

2018-04-28 14:33:31 UTC

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

2018-06-12 11:56:36 UTC

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

2018-06-12 11:56:36 UTC

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

2018-06-12 11:57:05 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-headless="$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'

2018-06-12 12:24:49 UTC

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

2018-06-12 12:24:50 UTC

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

2018-06-12 12:24:50 UTC

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

2018-06-12 12:24:50 UTC

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

2018-06-12 12:24:51 UTC

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

2018-06-12 12:24:51 UTC

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

2018-06-12 12:24:51 UTC

/bin/sh -c #(nop) ENV OPENSSL_VERSION=1.1.0f-3+deb9u2

2018-06-12 12:25:03 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

2018-06-12 12:25:14 UTC

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

2018-06-12 12:25:14 UTC

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

2018-06-12 12:27:54 UTC

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

2018-06-12 12:27:54 UTC

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

2018-06-12 12:27:54 UTC

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

2018-06-12 12:27:55 UTC

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

2018-06-12 12:27:55 UTC

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

2018-06-12 12:28:55 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 --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*; 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|' '{}' +

2018-06-12 12:28:57 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

2018-06-12 12:28:57 UTC

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

2018-06-12 12:28:58 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