Namespace
vulhub
Image / Tag
activemq:5.17.3
Content Digest
sha256:875a68d72c0faa7723d7dc7f09998a875fafdab9a4353fc633fa7e7b5a690f9d
Details
Created

2023-12-01 19:02:58 +0800

Size

164 MB

Content Digest
Environment
ACTIVEMQ

apache-activemq-5.17.3

ACTIVEMQ_AMQP

5672

ACTIVEMQ_HOME

/opt/activemq

ACTIVEMQ_MQTT

1883

ACTIVEMQ_STOMP

61613

ACTIVEMQ_TCP

61616

ACTIVEMQ_UI

8161

ACTIVEMQ_VERSION

5.17.3

ACTIVEMQ_WS

61614

JAVA_HOME

/usr/local/openjdk-11

JAVA_VERSION

11.0.16

LANG

C.UTF-8

PATH

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


Layers

[#000] sha256:001c52e26ad57e3b25b439ee0052f6692e5c0f2d5d982a00a8819ace5e521452 - 32.05% (52.5 MB)

[#001] sha256:d9d4b9b6e964657da49910b495173d6c4f0d9bc47b3b44273cf82fd32723d165 - 3.0% (4.92 MB)

[#002] sha256:2068746827ec1b043b571e4788693eab7e9b2a95301176512791f8c317a2816a - 6.34% (10.4 MB)

[#003] sha256:8510da692cda60e4746c14dd90905695eade5888e2ad640706a2be9dc42a0224 - 3.3% (5.4 MB)

[#004] sha256:b6d84395b34d8ae99a6c83b1da729fdfc0678767272973ada75ed7772572e392 - 0.0% (211 Bytes)

[#005] sha256:bf03fea6c3ad764587adf11c70121a7bb47883183ea13fb6b9f73727caf2a6f7 - 26.67% (43.6 MB)

[#006] sha256:6bfa152a2fa208e3681c33d1086cdcd1a53625df4a6c327a1340b5e1754859e6 - 28.64% (46.9 MB)

[#007] sha256:264c4d071e962b7c3c577ef0bded10fc5e89e41b04df499e38aab5eb38facda2 - 0.0% (4 KB)

[#008] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)


History
2022-08-02 01:19:54 UTC

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

2022-08-02 01:19:54 UTC

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

2022-08-02 01:46:56 UTC

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

2022-08-02 01:47:01 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

2022-08-02 05:53:34 UTC

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

2022-08-02 05:53:34 UTC

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

2022-08-02 05:53:35 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)" ] # backwards compatibility

2022-08-02 05:53:35 UTC

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

2022-08-02 05:53:35 UTC

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

2022-08-02 05:53:35 UTC

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

2022-08-02 05:53:43 UTC

/bin/sh -c set -eux; arch="$(dpkg --print-architecture)"; case "$arch" in 'amd64') downloadUrl='https://github.com/AdoptOpenJDK/openjdk11-upstream-binaries/releases/download/jdk-11.0.16%2B8/OpenJDK11U-jre_x64_linux_11.0.16_8.tar.gz'; ;; 'arm64') downloadUrl='https://github.com/AdoptOpenJDK/openjdk11-upstream-binaries/releases/download/jdk-11.0.16%2B8/OpenJDK11U-jre_aarch64_linux_11.0.16_8.tar.gz'; ;; *) echo >&2 "error: unsupported architecture: '$arch'"; exit 1 ;; esac; wget --progress=dot:giga -O openjdk.tgz "$downloadUrl"; wget --progress=dot:giga -O openjdk.tgz.asc "$downloadUrl.sign"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys EAC843EBD3EFDB98CC772FADA5CD6035332FA671; gpg --batch --keyserver keyserver.ubuntu.com --keyserver-options no-self-sigs-only --recv-keys CA5F11C6CE22644D42C6AC4492EF8D39DC13168F; 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 'trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose=server-auth "$JAVA_HOME/lib/security/cacerts"'; } > /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; java -Xshare:dump; java --version

2023-12-01 14:42:08 +0800 (buildkit.dockerfile.v0)

ENV ACTIVEMQ_VERSION=5.17.3

2023-12-01 14:42:08 +0800 (buildkit.dockerfile.v0)

ENV ACTIVEMQ=apache-activemq-5.17.3

2023-12-01 14:42:08 +0800 (buildkit.dockerfile.v0)

ENV ACTIVEMQ_TCP=61616 ACTIVEMQ_AMQP=5672 ACTIVEMQ_STOMP=61613 ACTIVEMQ_MQTT=1883 ACTIVEMQ_WS=61614 ACTIVEMQ_UI=8161

2023-12-01 14:42:08 +0800 (buildkit.dockerfile.v0)

ENV ACTIVEMQ_HOME=/opt/activemq

2023-12-01 14:42:08 +0800 (buildkit.dockerfile.v0)

RUN /bin/sh -c set -x && mkdir -p $ACTIVEMQ_HOME && curl -s -S https://archive.apache.org/dist/activemq/$ACTIVEMQ_VERSION/$ACTIVEMQ-bin.tar.gz | tar xvz --strip-components=1 -C "$ACTIVEMQ_HOME" # buildkit

2023-12-01 19:02:58 +0800 (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex && sed -i 's/127\.0\.0\.1/0.0.0.0/' "${ACTIVEMQ_HOME}/conf/jetty.xml" && echo 'ACTIVEMQ_DEBUG_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=*:5005"' >> "$ACTIVEMQ_HOME/bin/env" # buildkit

2023-12-01 19:02:58 +0800 (buildkit.dockerfile.v0)

WORKDIR /opt/activemq

2023-12-01 19:02:58 +0800 (buildkit.dockerfile.v0)

EXPOSE map[1883/tcp:{} 5672/tcp:{} 61613/tcp:{} 61614/tcp:{} 61616/tcp:{} 8161/tcp:{}]

2023-12-01 19:02:58 +0800 (buildkit.dockerfile.v0)

CMD ["/opt/activemq/bin/activemq" "console"]

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