Namespace
vulhub
Image / Tag
struts2:2.3.28
Content Digest
sha256:f738bc5396ba19a6e9388bd9a3085145e2d4f28c19ff992c6b8e51794b353a2b
Details
Created

2020-07-11 15:50:55 UTC

Size

244 MB

Content Digest
Labels
  • maintainer
    phithon <root@leavesongs.com>

Environment
JAVA_BASE_URL

https://github.com/AdoptOpenJDK/openjdk8-upstream-binaries/releases/download/jdk8u252-b09/OpenJDK8U-jdk_

JAVA_HOME

/usr/local/openjdk-8

JAVA_URL_VERSION

8u252b09

JAVA_VERSION

8u252

LANG

C.UTF-8

MAVEN_CONFIG

/root/.m2

MAVEN_HOME

/usr/share/maven

PATH

/usr/local/openjdk-8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin


Layers

[#000] sha256:376057ac6fa17f65688c56977118e2e764b27c348b3f70637fa829cd2a12b200 - 19.67% (48.1 MB)

[#001] sha256:5a63a0a859d859478f30461786a49c2fca3ae7d89ab5b5ce3c81c54951d30f88 - 3.05% (7.45 MB)

[#002] sha256:496548a8c952b37bdf149ab3654f9085d721ee126b8c73b16860778be5137f5e - 3.9% (9.53 MB)

[#003] sha256:2adae3950d4d0f11875568c325d3d542d1f2e2d9b49bdd740bb57fcfc1f6478f - 20.23% (49.4 MB)

[#004] sha256:0a297eafb9ac1e735f06c05d8ed0c60bbc1bf1ee8140e33d3011a3380c2061aa - 2.06% (5.04 MB)

[#005] sha256:51607e1c215b1e67c5d1a719ca97d23245bbab235c09434c0c505bca2bf1394e - 0.0% (212 Bytes)

[#006] sha256:f7c02da203f12569f408b2c158084d0f9e297cdb678db2a3c0b35b5aa2d8bd97 - 40.77% (99.6 MB)

[#007] sha256:6c1d10a73d69110369b7ac838820d2ed3e3bda03b5e2381e5fa5c70e25a3991f - 3.74% (9.14 MB)

[#008] sha256:bb636795fc3c575c85c5bc145e6a25df118f80ebde451e7a3de998392b004f5b - 0.0% (854 Bytes)

[#009] sha256:b10e9726b497a920fc20d8d3a253c5f91ba722fb930e08cc79e125d634d3e4f3 - 0.0% (361 Bytes)

[#010] sha256:9fb59fc8a136e1b2d6993add9de3801b2bd9d5ac532f3fbe6f5cb2c0afc28342 - 0.0% (1.92 KB)

[#011] sha256:53bc290d3dfed38cfae53b1395ea485ef79e3fefed227631e44ed15f966079fc - 6.56% (16 MB)


History
2020-05-15 06:28:12 UTC

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

2020-05-15 06:28:13 UTC

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

2020-05-15 17:32:13 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/*

2020-05-15 17:32:19 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

2020-05-15 17:32:41 UTC

/bin/sh -c apt-get update && apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps && rm -rf /var/lib/apt/lists/*

2020-05-15 21:02:20 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends bzip2 unzip xz-utils ca-certificates p11-kit fontconfig libfreetype6 ; rm -rf /var/lib/apt/lists/*

2020-05-15 21:02:20 UTC

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

2020-05-15 21:04:10 UTC

/bin/sh -c #(nop) ENV JAVA_HOME=/usr/local/openjdk-8

2020-05-15 21:04:11 UTC

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

2020-05-15 21:04:12 UTC

/bin/sh -c { echo '#/bin/sh'; echo 'echo "$JAVA_HOME"'; } > /usr/local/bin/docker-java-home && chmod +x /usr/local/bin/docker-java-home && [ "$JAVA_HOME" = "$(docker-java-home)" ]

2020-05-15 21:04:12 UTC

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

2020-05-15 21:04:12 UTC

/bin/sh -c #(nop) ENV JAVA_BASE_URL=https://github.com/AdoptOpenJDK/openjdk8-upstream-binaries/releases/download/jdk8u252-b09/OpenJDK8U-jdk_

2020-05-15 21:04:12 UTC

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

2020-05-15 21:04:23 UTC

/bin/sh -c set -eux; dpkgArch="$(dpkg --print-architecture)"; case "$dpkgArch" in amd64) upstreamArch='x64' ;; arm64) upstreamArch='aarch64' ;; *) echo >&2 "error: unsupported architecture: $dpkgArch" ;; esac; wget -O openjdk.tgz.asc "${JAVA_BASE_URL}${upstreamArch}_linux_${JAVA_URL_VERSION}.tar.gz.sign"; wget -O openjdk.tgz "${JAVA_BASE_URL}${upstreamArch}_linux_${JAVA_URL_VERSION}.tar.gz" --progress=dot:giga; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver ha.pool.sks-keyservers.net --keyserver-options no-self-sigs-only --recv-keys CA5F11C6CE22644D42C6AC4492EF8D39DC13168F; gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys EAC843EBD3EFDB98CC772FADA5CD6035332FA671; gpg --batch --list-sigs --keyid-format 0xLONG CA5F11C6CE22644D42C6AC4492EF8D39DC13168F | tee /dev/stderr | grep '0xA5CD6035332FA671' | grep 'Andrew Haley'; gpg --batch --verify openjdk.tgz.asc openjdk.tgz; gpgconf --kill all; rm -rf "$GNUPGHOME"; mkdir -p "$JAVA_HOME"; tar --extract --file openjdk.tgz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm openjdk.tgz*; { echo '#!/usr/bin/env bash'; echo 'set -Eeuo pipefail'; echo 'if ! [ -d "$JAVA_HOME" ]; then echo >&2 "error: missing JAVA_HOME environment variable"; exit 1; fi'; echo 'cacertsFile=; for f in "$JAVA_HOME/lib/security/cacerts" "$JAVA_HOME/jre/lib/security/cacerts"; do if [ -e "$f" ]; then cacertsFile="$f"; break; fi; done'; echo 'if [ -z "$cacertsFile" ] || ! [ -f "$cacertsFile" ]; then echo >&2 "error: failed to find cacerts file in $JAVA_HOME"; exit 1; fi'; echo 'trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose=server-auth "$cacertsFile"'; } > /etc/ca-certificates/update.d/docker-openjdk; chmod +x /etc/ca-certificates/update.d/docker-openjdk; /etc/ca-certificates/update.d/docker-openjdk; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig; javac -version; java -version

2020-05-16 11:27:56 UTC

/bin/sh -c #(nop) ARG MAVEN_VERSION=3.6.3

2020-05-16 11:27:57 UTC

/bin/sh -c #(nop) ARG USER_HOME_DIR=/root

2020-05-16 11:27:57 UTC

/bin/sh -c #(nop) ARG SHA=c35a1803a6e70a126e80b2b3ae33eed961f83ed74d18fcd16909b2d44d7dada3203f1ffe726c17ef8dcca2dcaa9fca676987befeadc9b9f759967a8cb77181c0

2020-05-16 11:27:57 UTC

/bin/sh -c #(nop) ARG BASE_URL=https://apache.osuosl.org/maven/maven-3/3.6.3/binaries

2020-05-16 11:27:59 UTC

|4 BASE_URL=https://apache.osuosl.org/maven/maven-3/3.6.3/binaries MAVEN_VERSION=3.6.3 SHA=c35a1803a6e70a126e80b2b3ae33eed961f83ed74d18fcd16909b2d44d7dada3203f1ffe726c17ef8dcca2dcaa9fca676987befeadc9b9f759967a8cb77181c0 USER_HOME_DIR=/root /bin/sh -c mkdir -p /usr/share/maven /usr/share/maven/ref && curl -fsSL -o /tmp/apache-maven.tar.gz ${BASE_URL}/apache-maven-${MAVEN_VERSION}-bin.tar.gz && echo "${SHA} /tmp/apache-maven.tar.gz" | sha512sum -c - && tar -xzf /tmp/apache-maven.tar.gz -C /usr/share/maven --strip-components=1 && rm -f /tmp/apache-maven.tar.gz && ln -s /usr/share/maven/bin/mvn /usr/bin/mvn

2020-05-16 11:27:59 UTC

/bin/sh -c #(nop) ENV MAVEN_HOME=/usr/share/maven

2020-05-16 11:27:59 UTC

/bin/sh -c #(nop) ENV MAVEN_CONFIG=/root/.m2

2020-05-16 11:27:59 UTC

/bin/sh -c #(nop) COPY file:1b3da5c58894f705e7387946301c0c52edb6271761ea3cd80b86a848847a64cd in /usr/local/bin/mvn-entrypoint.sh

2020-05-16 11:28:00 UTC

/bin/sh -c #(nop) COPY file:2bbb488dd73c55d658b91943cfdf9c26975a320ceafc45dda94c95b03e518ad3 in /usr/share/maven/ref/

2020-05-16 11:28:00 UTC

/bin/sh -c #(nop) ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"]

2020-05-16 11:28:00 UTC

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

2020-07-11 15:49:44 UTC

/bin/sh -c #(nop) LABEL maintainer=phithon <root@leavesongs.com>

2020-07-11 15:49:44 UTC

/bin/sh -c #(nop) COPY dir:ef4056c1b7197f85b6935c21e6a21ae8091abf4550b1c0f26b7ea059063eb22d in /usr/src/

2020-07-11 15:49:45 UTC

/bin/sh -c #(nop) WORKDIR /usr/src

2020-07-11 15:50:54 UTC

/bin/sh -c set -ex && mvn compile jetty:help

2020-07-11 15:50:55 UTC

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

2020-07-11 15:50:55 UTC

/bin/sh -c #(nop) CMD ["mvn" "jetty: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