Namespace
library
Image / Tag
cassandra:3.11-focal
Content Digest
sha256:61cbfa672b254e8fc82ece6bfd434ef7a2000e39e32f8f03c9ee4700cd9973a5
Details
Created

2023-08-20 14:24:17 UTC

Size

123 MB

Content Digest
Labels
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.version
    20.04

Environment
CASSANDRA_CONF

/etc/cassandra

CASSANDRA_HOME

/opt/cassandra

CASSANDRA_SHA512

5bc76508fec8ff9d4fcfa3c53b0c9550ef37ad771e568b2634df2ba5377c378237c968f1d2bfb1078ecc30c034aea63b4c481826bb9ac26536f1f4f336cd8286

CASSANDRA_VERSION

3.11.16

GOSU_VERSION

1.16

GPG_KEYS

CEC86BB4A0BA9D0F90397CAEF8358FA2F2833C93 C4965EE9E3015D192CCCF2B6F758CE318D77295D 5AED1BF378E9A19DADE1BCB34BD736A82B5C1B00 514A2AD631A57A16DD0047EC749D6EEC0353B12C A26E528B271F19B9E5D8E19EA278B781FE4B2BDA A4C465FEA0C552561A392A61E91335D77E3E87CB 9E66CEC6106D578D0B1EB9BFF1000962B7F6840C C4009872C59B49561310D966D0062876AF30F054 B7842CDAF36E6A3214FAE35D5E85B9AE0B84C041 3E9C876907A560ACA00964F363E9BAD215BBF5F0 F8B7FD00E05C932991A2CD6150EE103D162C5A55 7464AAD9068241C50BA6A26232F35CB2F546D93E CEC5C50B9C629EF0F5AB2706650B72EB14CCD622

JAVA_HOME

/opt/java/openjdk

JAVA_VERSION

jdk8u392-b08

LANG

en_US.UTF-8

LANGUAGE

en_US:en

LC_ALL

en_US.UTF-8

PATH

/opt/cassandra/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin


Layers

[#000] sha256:521f275cc58bdab90307a5929f8a6d197368b8c214edbc7f06fc1aaf48cfff3e - 22.11% (27.3 MB)

[#001] sha256:fe6a6404648d953a02729d22ecf5aa18fe7f6f8d40e669ba5c45fbe6db2cd987 - 13.09% (16.1 MB)

[#002] sha256:95db54bbfb1c4da53d7f38a3c24266b33c51646f8baccf5f4c51d8f64b970aa9 - 32.38% (39.9 MB)

[#003] sha256:30c45db749066405eeb1cb1d1eeb82d91b8b28c6b7ba4ddec56a106cee4bb029 - 0.0% (161 Bytes)

[#004] sha256:f5b91741e5492cdc4c55643015e5b77a596c4c2813ad271ac37df09d5d14fa63 - 0.0% (734 Bytes)

[#005] sha256:80ee7b33f7a711054754315309b6b84cbb53e757d9df1123c756457bcf170f00 - 0.0% (1.69 KB)

[#006] sha256:96e9a4e576da71c864daa328a9ee23e8b15c273d62eb6b9957bb8e38c49aebda - 7.36% (9.08 MB)

[#007] sha256:aa8e1089723bf4dfff99702a5b0c6776b100bd06130544101d6445106c7214ed - 0.85% (1.05 MB)

[#008] sha256:55b36d027cf216ed9f9ce64e5581d2529abe29efc60f10fe2ffee7c30ef3f06c - 24.21% (29.8 MB)

[#009] sha256:e3a7d3b8509c2a15014419990915bf556c5601d87aada4d54aeebfd3de64f842 - 0.0% (1.2 KB)

[#010] sha256:81a1474c91d877611152e4ae35d170eaad923078b5d77b34abb72d58a44d8236 - 0.0% (122 Bytes)


History
2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) ARG RELEASE

2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH

2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu

2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.version=20.04

2023-08-20 14:24:17 UTC

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

2023-08-20 14:24:17 UTC

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

2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) ENV JAVA_HOME=/opt/java/openjdk

2023-08-20 14:24:17 UTC

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

2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8

2023-08-20 14:24:17 UTC

/bin/sh -c set -eux; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends curl wget fontconfig ca-certificates p11-kit tzdata locales ; echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen; locale-gen en_US.UTF-8; rm -rf /var/lib/apt/lists/*

2023-08-20 14:24:17 UTC

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

2023-08-20 14:24:17 UTC

/bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in aarch64|arm64) ESUM='37b997f12cd572da979283fccafec9ba903041a209605b50fcb46cc34f1a9917'; BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u392-b08/OpenJDK8U-jre_aarch64_linux_hotspot_8u392b08.tar.gz'; ;; amd64|i386:x86-64) ESUM='91d31027da0d985be3549714389593d9e0da3da5057d87e3831c7c538b9a2a0f'; BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u392-b08/OpenJDK8U-jre_x64_linux_hotspot_8u392b08.tar.gz'; ;; armhf|arm) ESUM='877953bfabcdbcd000c11364d806456ca579a921085de2ca942280ebe168cac2'; BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u392-b08/OpenJDK8U-jre_arm_linux_hotspot_8u392b08.tar.gz'; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libatomic1; rm -rf /var/lib/apt/lists/*; ;; ppc64el|powerpc:common64) ESUM='0ecb0aeb54fb9d3c9e1a7ea411490127e8e298d93219fafc4dd6051a5b74671f'; BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u392-b08/OpenJDK8U-jre_ppc64le_linux_hotspot_8u392b08.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; wget --progress=dot:giga -O /tmp/openjdk.tar.gz ${BINARY_URL}; echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; mkdir -p "$JAVA_HOME"; tar --extract --file /tmp/openjdk.tar.gz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig;

2023-08-20 14:24:17 UTC

/bin/sh -c set -eux; echo "Verifying install ..."; echo "java -version"; java -version; echo "Complete."

2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) COPY file:8b8864b3e02a33a579dc216fd51b28a6047bc8eeaa03045b258980fe0cf7fcb3 in /__cacert_entrypoint.sh

2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) ENTRYPOINT ["/__cacert_entrypoint.sh"]

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; groupadd -r cassandra --gid=999; useradd -r -g cassandra --uid=999 cassandra # buildkit

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends libjemalloc2 procps python iproute2 numactl ; rm -rf /var/lib/apt/lists/*; libjemalloc="$(readlink -e /usr/lib/*/libjemalloc.so.2)"; ln -sT "$libjemalloc" /usr/local/lib/libjemalloc.so; ldconfig # buildkit

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.16

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates gnupg wget; rm -rf /var/lib/apt/lists/*; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENV CASSANDRA_HOME=/opt/cassandra

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENV CASSANDRA_CONF=/etc/cassandra

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENV PATH=/opt/cassandra/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=CEC86BB4A0BA9D0F90397CAEF8358FA2F2833C93 C4965EE9E3015D192CCCF2B6F758CE318D77295D 5AED1BF378E9A19DADE1BCB34BD736A82B5C1B00 514A2AD631A57A16DD0047EC749D6EEC0353B12C A26E528B271F19B9E5D8E19EA278B781FE4B2BDA A4C465FEA0C552561A392A61E91335D77E3E87CB 9E66CEC6106D578D0B1EB9BFF1000962B7F6840C C4009872C59B49561310D966D0062876AF30F054 B7842CDAF36E6A3214FAE35D5E85B9AE0B84C041 3E9C876907A560ACA00964F363E9BAD215BBF5F0 F8B7FD00E05C932991A2CD6150EE103D162C5A55 7464AAD9068241C50BA6A26232F35CB2F546D93E CEC5C50B9C629EF0F5AB2706650B72EB14CCD622

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENV CASSANDRA_VERSION=3.11.16

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENV CASSANDRA_SHA512=5bc76508fec8ff9d4fcfa3c53b0c9550ef37ad771e568b2634df2ba5377c378237c968f1d2bfb1078ecc30c034aea63b4c481826bb9ac26536f1f4f336cd8286

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates gnupg wget; rm -rf /var/lib/apt/lists/*; ddist() { local f="$1"; shift; local distFile="$1"; shift; local success=; local distUrl=; for distUrl in 'https://www.apache.org/dyn/closer.cgi?action=download&filename=' https://www-us.apache.org/dist/ https://www.apache.org/dist/ https://archive.apache.org/dist/ ; do if wget --progress=dot:giga -O "$f" "$distUrl$distFile" && [ -s "$f" ]; then success=1; break; fi; done; [ -n "$success" ]; }; ddist 'cassandra-bin.tgz' "cassandra/$CASSANDRA_VERSION/apache-cassandra-$CASSANDRA_VERSION-bin.tar.gz"; echo "$CASSANDRA_SHA512 *cassandra-bin.tgz" | sha512sum --check --strict -; ddist 'cassandra-bin.tgz.asc' "cassandra/$CASSANDRA_VERSION/apache-cassandra-$CASSANDRA_VERSION-bin.tar.gz.asc"; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --verify cassandra-bin.tgz.asc cassandra-bin.tgz; rm -rf "$GNUPGHOME"; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; mkdir -p "$CASSANDRA_HOME"; tar --extract --file cassandra-bin.tgz --directory "$CASSANDRA_HOME" --strip-components 1; rm cassandra-bin.tgz*; [ ! -e "$CASSANDRA_CONF" ]; mv "$CASSANDRA_HOME/conf" "$CASSANDRA_CONF"; ln -sT "$CASSANDRA_CONF" "$CASSANDRA_HOME/conf"; dpkgArch="$(dpkg --print-architecture)"; case "$dpkgArch" in ppc64el) grep -- '^-Xss256k$' "$CASSANDRA_CONF/jvm.options"; sed -ri 's/^-Xss256k$/-Xss512k/' "$CASSANDRA_CONF/jvm.options"; grep -- '^-Xss512k$' "$CASSANDRA_CONF/jvm.options"; ;; esac; mkdir -p "$CASSANDRA_CONF" /var/lib/cassandra /var/log/cassandra; chown -R cassandra:cassandra "$CASSANDRA_CONF" /var/lib/cassandra /var/log/cassandra; chmod 1777 "$CASSANDRA_CONF" /var/lib/cassandra /var/log/cassandra; chmod -R a+rwX "$CASSANDRA_CONF"; ln -sT /var/lib/cassandra "$CASSANDRA_HOME/data"; ln -sT /var/log/cassandra "$CASSANDRA_HOME/logs"; cassandra -v # buildkit

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/cassandra]

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/local/bin/ # buildkit

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh /docker-entrypoint.sh # backwards compat # buildkit

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

EXPOSE map[7000/tcp:{} 7001/tcp:{} 7199/tcp:{} 9042/tcp:{} 9160/tcp:{}]

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

CMD ["cassandra" "-f"]

Details
Created

2023-08-20 14:24:17 UTC

Size

115 MB

Content Digest
Labels
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.version
    20.04

Environment
CASSANDRA_CONF

/etc/cassandra

CASSANDRA_HOME

/opt/cassandra

CASSANDRA_SHA512

5bc76508fec8ff9d4fcfa3c53b0c9550ef37ad771e568b2634df2ba5377c378237c968f1d2bfb1078ecc30c034aea63b4c481826bb9ac26536f1f4f336cd8286

CASSANDRA_VERSION

3.11.16

GOSU_VERSION

1.16

GPG_KEYS

CEC86BB4A0BA9D0F90397CAEF8358FA2F2833C93 C4965EE9E3015D192CCCF2B6F758CE318D77295D 5AED1BF378E9A19DADE1BCB34BD736A82B5C1B00 514A2AD631A57A16DD0047EC749D6EEC0353B12C A26E528B271F19B9E5D8E19EA278B781FE4B2BDA A4C465FEA0C552561A392A61E91335D77E3E87CB 9E66CEC6106D578D0B1EB9BFF1000962B7F6840C C4009872C59B49561310D966D0062876AF30F054 B7842CDAF36E6A3214FAE35D5E85B9AE0B84C041 3E9C876907A560ACA00964F363E9BAD215BBF5F0 F8B7FD00E05C932991A2CD6150EE103D162C5A55 7464AAD9068241C50BA6A26232F35CB2F546D93E CEC5C50B9C629EF0F5AB2706650B72EB14CCD622

JAVA_HOME

/opt/java/openjdk

JAVA_VERSION

jdk8u392-b08

LANG

en_US.UTF-8

LANGUAGE

en_US:en

LC_ALL

en_US.UTF-8

PATH

/opt/cassandra/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin


Layers

[#000] sha256:ba68304511cfd178c72d64196a05b1343fbdbed6093d7b4db0c0d223510c40ab - 20.32% (23.5 MB)

[#001] sha256:45dca1c5123b34dd759063c3ea5a85792ef1b887f6337f3fc1bf67a9a3971c6e - 12.93% (14.9 MB)

[#002] sha256:efdbf2ad00fcddbfa96d91296e154be7af64f8cde38d93f27ff1e094155ee46f - 32.68% (37.7 MB)

[#003] sha256:d0aab1956fe96b0f18a696c436f8b7ca4f9b895a62de9356c45c5ceb576daa5f - 0.0% (162 Bytes)

[#004] sha256:0a5ab832f369a1aa6a189cca12fa5a09a92d58598ff786df0b624932d79c4bca - 0.0% (734 Bytes)

[#005] sha256:e462765e93a29971fec5b14264cc995b5e57892c52d2618e37410bbdc7d0829f - 0.0% (1.68 KB)

[#006] sha256:474ef16fa19fbc315407c7b9d7fcd6ba84afdb147874e91dd12b3f22f8839c18 - 7.32% (8.46 MB)

[#007] sha256:a86c6eb49a667c595e1db834507c7919b94a2ef447632bba5762f2fac01aaacc - 0.88% (1.02 MB)

[#008] sha256:0d447746fa79a1bfc8a8b977520c5cb8d67c3a6805972393cf2d1cb53988bc14 - 25.85% (29.8 MB)

[#009] sha256:a9223a3f216369be54122881c46d3fdd2c1e26b0df4e9a926a635cfb15ed924f - 0.0% (1.2 KB)

[#010] sha256:11f2aa4e2c1800b0befd4ce013c38a9752bc39afb66c7689dd89ed192f34414f - 0.0% (122 Bytes)


History
2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) ARG RELEASE

2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH

2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu

2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.version=20.04

2023-08-20 14:24:17 UTC

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

2023-08-20 14:24:17 UTC

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

2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) ENV JAVA_HOME=/opt/java/openjdk

2023-08-20 14:24:17 UTC

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

2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8

2023-08-20 14:24:17 UTC

/bin/sh -c set -eux; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends curl wget fontconfig ca-certificates p11-kit tzdata locales ; echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen; locale-gen en_US.UTF-8; rm -rf /var/lib/apt/lists/*

2023-08-20 14:24:17 UTC

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

2023-08-20 14:24:17 UTC

/bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in aarch64|arm64) ESUM='37b997f12cd572da979283fccafec9ba903041a209605b50fcb46cc34f1a9917'; BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u392-b08/OpenJDK8U-jre_aarch64_linux_hotspot_8u392b08.tar.gz'; ;; amd64|i386:x86-64) ESUM='91d31027da0d985be3549714389593d9e0da3da5057d87e3831c7c538b9a2a0f'; BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u392-b08/OpenJDK8U-jre_x64_linux_hotspot_8u392b08.tar.gz'; ;; armhf|arm) ESUM='877953bfabcdbcd000c11364d806456ca579a921085de2ca942280ebe168cac2'; BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u392-b08/OpenJDK8U-jre_arm_linux_hotspot_8u392b08.tar.gz'; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libatomic1; rm -rf /var/lib/apt/lists/*; ;; ppc64el|powerpc:common64) ESUM='0ecb0aeb54fb9d3c9e1a7ea411490127e8e298d93219fafc4dd6051a5b74671f'; BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u392-b08/OpenJDK8U-jre_ppc64le_linux_hotspot_8u392b08.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; wget --progress=dot:giga -O /tmp/openjdk.tar.gz ${BINARY_URL}; echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; mkdir -p "$JAVA_HOME"; tar --extract --file /tmp/openjdk.tar.gz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig;

2023-08-20 14:24:17 UTC

/bin/sh -c set -eux; echo "Verifying install ..."; echo "java -version"; java -version; echo "Complete."

2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) COPY file:8b8864b3e02a33a579dc216fd51b28a6047bc8eeaa03045b258980fe0cf7fcb3 in /__cacert_entrypoint.sh

2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) ENTRYPOINT ["/__cacert_entrypoint.sh"]

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; groupadd -r cassandra --gid=999; useradd -r -g cassandra --uid=999 cassandra # buildkit

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends libjemalloc2 procps python iproute2 numactl ; rm -rf /var/lib/apt/lists/*; libjemalloc="$(readlink -e /usr/lib/*/libjemalloc.so.2)"; ln -sT "$libjemalloc" /usr/local/lib/libjemalloc.so; ldconfig # buildkit

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.16

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates gnupg wget; rm -rf /var/lib/apt/lists/*; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENV CASSANDRA_HOME=/opt/cassandra

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENV CASSANDRA_CONF=/etc/cassandra

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENV PATH=/opt/cassandra/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=CEC86BB4A0BA9D0F90397CAEF8358FA2F2833C93 C4965EE9E3015D192CCCF2B6F758CE318D77295D 5AED1BF378E9A19DADE1BCB34BD736A82B5C1B00 514A2AD631A57A16DD0047EC749D6EEC0353B12C A26E528B271F19B9E5D8E19EA278B781FE4B2BDA A4C465FEA0C552561A392A61E91335D77E3E87CB 9E66CEC6106D578D0B1EB9BFF1000962B7F6840C C4009872C59B49561310D966D0062876AF30F054 B7842CDAF36E6A3214FAE35D5E85B9AE0B84C041 3E9C876907A560ACA00964F363E9BAD215BBF5F0 F8B7FD00E05C932991A2CD6150EE103D162C5A55 7464AAD9068241C50BA6A26232F35CB2F546D93E CEC5C50B9C629EF0F5AB2706650B72EB14CCD622

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENV CASSANDRA_VERSION=3.11.16

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENV CASSANDRA_SHA512=5bc76508fec8ff9d4fcfa3c53b0c9550ef37ad771e568b2634df2ba5377c378237c968f1d2bfb1078ecc30c034aea63b4c481826bb9ac26536f1f4f336cd8286

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates gnupg wget; rm -rf /var/lib/apt/lists/*; ddist() { local f="$1"; shift; local distFile="$1"; shift; local success=; local distUrl=; for distUrl in 'https://www.apache.org/dyn/closer.cgi?action=download&filename=' https://www-us.apache.org/dist/ https://www.apache.org/dist/ https://archive.apache.org/dist/ ; do if wget --progress=dot:giga -O "$f" "$distUrl$distFile" && [ -s "$f" ]; then success=1; break; fi; done; [ -n "$success" ]; }; ddist 'cassandra-bin.tgz' "cassandra/$CASSANDRA_VERSION/apache-cassandra-$CASSANDRA_VERSION-bin.tar.gz"; echo "$CASSANDRA_SHA512 *cassandra-bin.tgz" | sha512sum --check --strict -; ddist 'cassandra-bin.tgz.asc' "cassandra/$CASSANDRA_VERSION/apache-cassandra-$CASSANDRA_VERSION-bin.tar.gz.asc"; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --verify cassandra-bin.tgz.asc cassandra-bin.tgz; rm -rf "$GNUPGHOME"; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; mkdir -p "$CASSANDRA_HOME"; tar --extract --file cassandra-bin.tgz --directory "$CASSANDRA_HOME" --strip-components 1; rm cassandra-bin.tgz*; [ ! -e "$CASSANDRA_CONF" ]; mv "$CASSANDRA_HOME/conf" "$CASSANDRA_CONF"; ln -sT "$CASSANDRA_CONF" "$CASSANDRA_HOME/conf"; dpkgArch="$(dpkg --print-architecture)"; case "$dpkgArch" in ppc64el) grep -- '^-Xss256k$' "$CASSANDRA_CONF/jvm.options"; sed -ri 's/^-Xss256k$/-Xss512k/' "$CASSANDRA_CONF/jvm.options"; grep -- '^-Xss512k$' "$CASSANDRA_CONF/jvm.options"; ;; esac; mkdir -p "$CASSANDRA_CONF" /var/lib/cassandra /var/log/cassandra; chown -R cassandra:cassandra "$CASSANDRA_CONF" /var/lib/cassandra /var/log/cassandra; chmod 1777 "$CASSANDRA_CONF" /var/lib/cassandra /var/log/cassandra; chmod -R a+rwX "$CASSANDRA_CONF"; ln -sT /var/lib/cassandra "$CASSANDRA_HOME/data"; ln -sT /var/log/cassandra "$CASSANDRA_HOME/logs"; cassandra -v # buildkit

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/cassandra]

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/local/bin/ # buildkit

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh /docker-entrypoint.sh # backwards compat # buildkit

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

EXPOSE map[7000/tcp:{} 7001/tcp:{} 7199/tcp:{} 9042/tcp:{} 9160/tcp:{}]

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

CMD ["cassandra" "-f"]

Details
Created

2023-08-20 14:24:17 UTC

Size

121 MB

Content Digest
Labels
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.version
    20.04

Environment
CASSANDRA_CONF

/etc/cassandra

CASSANDRA_HOME

/opt/cassandra

CASSANDRA_SHA512

5bc76508fec8ff9d4fcfa3c53b0c9550ef37ad771e568b2634df2ba5377c378237c968f1d2bfb1078ecc30c034aea63b4c481826bb9ac26536f1f4f336cd8286

CASSANDRA_VERSION

3.11.16

GOSU_VERSION

1.16

GPG_KEYS

CEC86BB4A0BA9D0F90397CAEF8358FA2F2833C93 C4965EE9E3015D192CCCF2B6F758CE318D77295D 5AED1BF378E9A19DADE1BCB34BD736A82B5C1B00 514A2AD631A57A16DD0047EC749D6EEC0353B12C A26E528B271F19B9E5D8E19EA278B781FE4B2BDA A4C465FEA0C552561A392A61E91335D77E3E87CB 9E66CEC6106D578D0B1EB9BFF1000962B7F6840C C4009872C59B49561310D966D0062876AF30F054 B7842CDAF36E6A3214FAE35D5E85B9AE0B84C041 3E9C876907A560ACA00964F363E9BAD215BBF5F0 F8B7FD00E05C932991A2CD6150EE103D162C5A55 7464AAD9068241C50BA6A26232F35CB2F546D93E CEC5C50B9C629EF0F5AB2706650B72EB14CCD622

JAVA_HOME

/opt/java/openjdk

JAVA_VERSION

jdk8u392-b08

LANG

en_US.UTF-8

LANGUAGE

en_US:en

LC_ALL

en_US.UTF-8

PATH

/opt/cassandra/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin


Layers

[#000] sha256:a5319f8e5f3f0f8f6e663c807041d5294b7c309e06b86d115409bbdb4c9d7165 - 21.47% (25.9 MB)

[#001] sha256:7b69f35fd155c9c0a485e63ad002a7b98a6ce1921e230d386f1cffd2c8c16878 - 13.23% (16 MB)

[#002] sha256:972efbb5355605bd1c767d5dcde6521e9f4a65d5fc131991fc3fc2765f5b296c - 32.23% (39 MB)

[#003] sha256:65564342016555a11d4fe73450771971acc24e7f4cead917494041cea128a870 - 0.0% (160 Bytes)

[#004] sha256:293ddc00a8b82e80cd076cb453963214d1bcf167354d57d4cb26fc4a0f64335a - 0.0% (734 Bytes)

[#005] sha256:abee84a58595fc519523aa7bf7c0b0c724514a6c8c13f69448af0bf848b2b875 - 0.0% (1.7 KB)

[#006] sha256:c35349605c46258f7f90c4b9796df4886759e9e887610c5c8aea223a7aaa5143 - 7.55% (9.12 MB)

[#007] sha256:1968cf1a345cfd59af4abe33fd8746dcca1e2a4be32a5878ce86fb209d569ce5 - 0.81% (1010 KB)

[#008] sha256:705af821af73e3532d3b0131a6cb5f303b964b07db8137543f5dc3ac20ac55b9 - 24.7% (29.8 MB)

[#009] sha256:1458e29a99e3146d9f83c23c01c5a49d34209fe951f9c5feeb7afc52f2389c1d - 0.0% (1.2 KB)

[#010] sha256:eae9da190318bda916c3f64599996de90f11559069138812733ec0dde2ee2423 - 0.0% (122 Bytes)


History
2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) ARG RELEASE

2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH

2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu

2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.version=20.04

2023-08-20 14:24:17 UTC

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

2023-08-20 14:24:17 UTC

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

2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) ENV JAVA_HOME=/opt/java/openjdk

2023-08-20 14:24:17 UTC

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

2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8

2023-08-20 14:24:17 UTC

/bin/sh -c set -eux; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends curl wget fontconfig ca-certificates p11-kit tzdata locales ; echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen; locale-gen en_US.UTF-8; rm -rf /var/lib/apt/lists/*

2023-08-20 14:24:17 UTC

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

2023-08-20 14:24:17 UTC

/bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in aarch64|arm64) ESUM='37b997f12cd572da979283fccafec9ba903041a209605b50fcb46cc34f1a9917'; BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u392-b08/OpenJDK8U-jre_aarch64_linux_hotspot_8u392b08.tar.gz'; ;; amd64|i386:x86-64) ESUM='91d31027da0d985be3549714389593d9e0da3da5057d87e3831c7c538b9a2a0f'; BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u392-b08/OpenJDK8U-jre_x64_linux_hotspot_8u392b08.tar.gz'; ;; armhf|arm) ESUM='877953bfabcdbcd000c11364d806456ca579a921085de2ca942280ebe168cac2'; BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u392-b08/OpenJDK8U-jre_arm_linux_hotspot_8u392b08.tar.gz'; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libatomic1; rm -rf /var/lib/apt/lists/*; ;; ppc64el|powerpc:common64) ESUM='0ecb0aeb54fb9d3c9e1a7ea411490127e8e298d93219fafc4dd6051a5b74671f'; BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u392-b08/OpenJDK8U-jre_ppc64le_linux_hotspot_8u392b08.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; wget --progress=dot:giga -O /tmp/openjdk.tar.gz ${BINARY_URL}; echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; mkdir -p "$JAVA_HOME"; tar --extract --file /tmp/openjdk.tar.gz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig;

2023-08-20 14:24:17 UTC

/bin/sh -c set -eux; echo "Verifying install ..."; echo "java -version"; java -version; echo "Complete."

2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) COPY file:8b8864b3e02a33a579dc216fd51b28a6047bc8eeaa03045b258980fe0cf7fcb3 in /__cacert_entrypoint.sh

2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) ENTRYPOINT ["/__cacert_entrypoint.sh"]

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; groupadd -r cassandra --gid=999; useradd -r -g cassandra --uid=999 cassandra # buildkit

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends libjemalloc2 procps python iproute2 numactl ; rm -rf /var/lib/apt/lists/*; libjemalloc="$(readlink -e /usr/lib/*/libjemalloc.so.2)"; ln -sT "$libjemalloc" /usr/local/lib/libjemalloc.so; ldconfig # buildkit

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.16

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates gnupg wget; rm -rf /var/lib/apt/lists/*; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENV CASSANDRA_HOME=/opt/cassandra

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENV CASSANDRA_CONF=/etc/cassandra

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENV PATH=/opt/cassandra/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=CEC86BB4A0BA9D0F90397CAEF8358FA2F2833C93 C4965EE9E3015D192CCCF2B6F758CE318D77295D 5AED1BF378E9A19DADE1BCB34BD736A82B5C1B00 514A2AD631A57A16DD0047EC749D6EEC0353B12C A26E528B271F19B9E5D8E19EA278B781FE4B2BDA A4C465FEA0C552561A392A61E91335D77E3E87CB 9E66CEC6106D578D0B1EB9BFF1000962B7F6840C C4009872C59B49561310D966D0062876AF30F054 B7842CDAF36E6A3214FAE35D5E85B9AE0B84C041 3E9C876907A560ACA00964F363E9BAD215BBF5F0 F8B7FD00E05C932991A2CD6150EE103D162C5A55 7464AAD9068241C50BA6A26232F35CB2F546D93E CEC5C50B9C629EF0F5AB2706650B72EB14CCD622

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENV CASSANDRA_VERSION=3.11.16

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENV CASSANDRA_SHA512=5bc76508fec8ff9d4fcfa3c53b0c9550ef37ad771e568b2634df2ba5377c378237c968f1d2bfb1078ecc30c034aea63b4c481826bb9ac26536f1f4f336cd8286

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates gnupg wget; rm -rf /var/lib/apt/lists/*; ddist() { local f="$1"; shift; local distFile="$1"; shift; local success=; local distUrl=; for distUrl in 'https://www.apache.org/dyn/closer.cgi?action=download&filename=' https://www-us.apache.org/dist/ https://www.apache.org/dist/ https://archive.apache.org/dist/ ; do if wget --progress=dot:giga -O "$f" "$distUrl$distFile" && [ -s "$f" ]; then success=1; break; fi; done; [ -n "$success" ]; }; ddist 'cassandra-bin.tgz' "cassandra/$CASSANDRA_VERSION/apache-cassandra-$CASSANDRA_VERSION-bin.tar.gz"; echo "$CASSANDRA_SHA512 *cassandra-bin.tgz" | sha512sum --check --strict -; ddist 'cassandra-bin.tgz.asc' "cassandra/$CASSANDRA_VERSION/apache-cassandra-$CASSANDRA_VERSION-bin.tar.gz.asc"; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --verify cassandra-bin.tgz.asc cassandra-bin.tgz; rm -rf "$GNUPGHOME"; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; mkdir -p "$CASSANDRA_HOME"; tar --extract --file cassandra-bin.tgz --directory "$CASSANDRA_HOME" --strip-components 1; rm cassandra-bin.tgz*; [ ! -e "$CASSANDRA_CONF" ]; mv "$CASSANDRA_HOME/conf" "$CASSANDRA_CONF"; ln -sT "$CASSANDRA_CONF" "$CASSANDRA_HOME/conf"; dpkgArch="$(dpkg --print-architecture)"; case "$dpkgArch" in ppc64el) grep -- '^-Xss256k$' "$CASSANDRA_CONF/jvm.options"; sed -ri 's/^-Xss256k$/-Xss512k/' "$CASSANDRA_CONF/jvm.options"; grep -- '^-Xss512k$' "$CASSANDRA_CONF/jvm.options"; ;; esac; mkdir -p "$CASSANDRA_CONF" /var/lib/cassandra /var/log/cassandra; chown -R cassandra:cassandra "$CASSANDRA_CONF" /var/lib/cassandra /var/log/cassandra; chmod 1777 "$CASSANDRA_CONF" /var/lib/cassandra /var/log/cassandra; chmod -R a+rwX "$CASSANDRA_CONF"; ln -sT /var/lib/cassandra "$CASSANDRA_HOME/data"; ln -sT /var/log/cassandra "$CASSANDRA_HOME/logs"; cassandra -v # buildkit

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/cassandra]

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/local/bin/ # buildkit

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh /docker-entrypoint.sh # backwards compat # buildkit

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

EXPOSE map[7000/tcp:{} 7001/tcp:{} 7199/tcp:{} 9042/tcp:{} 9160/tcp:{}]

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

CMD ["cassandra" "-f"]

Details
Created

2023-08-20 14:24:17 UTC

Size

129 MB

Content Digest
Labels
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.version
    20.04

Environment
CASSANDRA_CONF

/etc/cassandra

CASSANDRA_HOME

/opt/cassandra

CASSANDRA_SHA512

5bc76508fec8ff9d4fcfa3c53b0c9550ef37ad771e568b2634df2ba5377c378237c968f1d2bfb1078ecc30c034aea63b4c481826bb9ac26536f1f4f336cd8286

CASSANDRA_VERSION

3.11.16

GOSU_VERSION

1.16

GPG_KEYS

CEC86BB4A0BA9D0F90397CAEF8358FA2F2833C93 C4965EE9E3015D192CCCF2B6F758CE318D77295D 5AED1BF378E9A19DADE1BCB34BD736A82B5C1B00 514A2AD631A57A16DD0047EC749D6EEC0353B12C A26E528B271F19B9E5D8E19EA278B781FE4B2BDA A4C465FEA0C552561A392A61E91335D77E3E87CB 9E66CEC6106D578D0B1EB9BFF1000962B7F6840C C4009872C59B49561310D966D0062876AF30F054 B7842CDAF36E6A3214FAE35D5E85B9AE0B84C041 3E9C876907A560ACA00964F363E9BAD215BBF5F0 F8B7FD00E05C932991A2CD6150EE103D162C5A55 7464AAD9068241C50BA6A26232F35CB2F546D93E CEC5C50B9C629EF0F5AB2706650B72EB14CCD622

JAVA_HOME

/opt/java/openjdk

JAVA_VERSION

jdk8u392-b08

LANG

en_US.UTF-8

LANGUAGE

en_US:en

LC_ALL

en_US.UTF-8

PATH

/opt/cassandra/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin


Layers

[#000] sha256:3cdeaacd390f730da6f0fb692f91fa6acafd7c373cd75524447a25371b6cf3b5 - 24.59% (31.8 MB)

[#001] sha256:1ed67c1e92d231797f6ccdb5b8dfc66523da0505bda01ed804febc7f69bbc165 - 13.44% (17.4 MB)

[#002] sha256:6c5d991043f03f8325d348bf72393053d13591ab0515b4c00d8ad5b9d2e6076c - 30.43% (39.3 MB)

[#003] sha256:2c0fb519969849c8a849b1e731908046a74132e4a25234a84e1d670b84fd5696 - 0.0% (159 Bytes)

[#004] sha256:63751105aee457fb542f84348c67c0ca1b861d9bf79a02cb771437af3346975d - 0.0% (734 Bytes)

[#005] sha256:7e7d69adb430bef28eb87e9b82b93ba895a037bdfd733f213a24a7109ade7fe9 - 0.0% (1.7 KB)

[#006] sha256:cdedbf3be312c1cbfae9f34d787d11316708345ae828c802f78e6075ab2782b3 - 7.69% (9.93 MB)

[#007] sha256:121419a591223e151117d4daa39e82ff3eb964f98f517fb748413489f6e4d443 - 0.75% (997 KB)

[#008] sha256:7670efb01a3b8c4a1663291b3cafb60e5389e98fc7481c7735df870996006767 - 23.1% (29.8 MB)

[#009] sha256:1b4fee8125cf38bb45a89664130a70668bb95bae30b8a308c74652afdcdff61d - 0.0% (1.2 KB)

[#010] sha256:883e5f483291788cf4fcb9cd8906ea1675973057ac52f8cc995e8306b992d6e2 - 0.0% (119 Bytes)


History
2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) ARG RELEASE

2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH

2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu

2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.version=20.04

2023-08-20 14:24:17 UTC

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

2023-08-20 14:24:17 UTC

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

2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) ENV JAVA_HOME=/opt/java/openjdk

2023-08-20 14:24:17 UTC

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

2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8

2023-08-20 14:24:17 UTC

/bin/sh -c set -eux; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends curl wget fontconfig ca-certificates p11-kit tzdata locales ; echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen; locale-gen en_US.UTF-8; rm -rf /var/lib/apt/lists/*

2023-08-20 14:24:17 UTC

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

2023-08-20 14:24:17 UTC

/bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in aarch64|arm64) ESUM='37b997f12cd572da979283fccafec9ba903041a209605b50fcb46cc34f1a9917'; BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u392-b08/OpenJDK8U-jre_aarch64_linux_hotspot_8u392b08.tar.gz'; ;; amd64|i386:x86-64) ESUM='91d31027da0d985be3549714389593d9e0da3da5057d87e3831c7c538b9a2a0f'; BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u392-b08/OpenJDK8U-jre_x64_linux_hotspot_8u392b08.tar.gz'; ;; armhf|arm) ESUM='877953bfabcdbcd000c11364d806456ca579a921085de2ca942280ebe168cac2'; BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u392-b08/OpenJDK8U-jre_arm_linux_hotspot_8u392b08.tar.gz'; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libatomic1; rm -rf /var/lib/apt/lists/*; ;; ppc64el|powerpc:common64) ESUM='0ecb0aeb54fb9d3c9e1a7ea411490127e8e298d93219fafc4dd6051a5b74671f'; BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u392-b08/OpenJDK8U-jre_ppc64le_linux_hotspot_8u392b08.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; wget --progress=dot:giga -O /tmp/openjdk.tar.gz ${BINARY_URL}; echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; mkdir -p "$JAVA_HOME"; tar --extract --file /tmp/openjdk.tar.gz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig;

2023-08-20 14:24:17 UTC

/bin/sh -c set -eux; echo "Verifying install ..."; echo "java -version"; java -version; echo "Complete."

2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) COPY file:8b8864b3e02a33a579dc216fd51b28a6047bc8eeaa03045b258980fe0cf7fcb3 in /__cacert_entrypoint.sh

2023-08-20 14:24:17 UTC

/bin/sh -c #(nop) ENTRYPOINT ["/__cacert_entrypoint.sh"]

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; groupadd -r cassandra --gid=999; useradd -r -g cassandra --uid=999 cassandra # buildkit

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends libjemalloc2 procps python iproute2 numactl ; rm -rf /var/lib/apt/lists/*; libjemalloc="$(readlink -e /usr/lib/*/libjemalloc.so.2)"; ln -sT "$libjemalloc" /usr/local/lib/libjemalloc.so; ldconfig # buildkit

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.16

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates gnupg wget; rm -rf /var/lib/apt/lists/*; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENV CASSANDRA_HOME=/opt/cassandra

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENV CASSANDRA_CONF=/etc/cassandra

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENV PATH=/opt/cassandra/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=CEC86BB4A0BA9D0F90397CAEF8358FA2F2833C93 C4965EE9E3015D192CCCF2B6F758CE318D77295D 5AED1BF378E9A19DADE1BCB34BD736A82B5C1B00 514A2AD631A57A16DD0047EC749D6EEC0353B12C A26E528B271F19B9E5D8E19EA278B781FE4B2BDA A4C465FEA0C552561A392A61E91335D77E3E87CB 9E66CEC6106D578D0B1EB9BFF1000962B7F6840C C4009872C59B49561310D966D0062876AF30F054 B7842CDAF36E6A3214FAE35D5E85B9AE0B84C041 3E9C876907A560ACA00964F363E9BAD215BBF5F0 F8B7FD00E05C932991A2CD6150EE103D162C5A55 7464AAD9068241C50BA6A26232F35CB2F546D93E CEC5C50B9C629EF0F5AB2706650B72EB14CCD622

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENV CASSANDRA_VERSION=3.11.16

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENV CASSANDRA_SHA512=5bc76508fec8ff9d4fcfa3c53b0c9550ef37ad771e568b2634df2ba5377c378237c968f1d2bfb1078ecc30c034aea63b4c481826bb9ac26536f1f4f336cd8286

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates gnupg wget; rm -rf /var/lib/apt/lists/*; ddist() { local f="$1"; shift; local distFile="$1"; shift; local success=; local distUrl=; for distUrl in 'https://www.apache.org/dyn/closer.cgi?action=download&filename=' https://www-us.apache.org/dist/ https://www.apache.org/dist/ https://archive.apache.org/dist/ ; do if wget --progress=dot:giga -O "$f" "$distUrl$distFile" && [ -s "$f" ]; then success=1; break; fi; done; [ -n "$success" ]; }; ddist 'cassandra-bin.tgz' "cassandra/$CASSANDRA_VERSION/apache-cassandra-$CASSANDRA_VERSION-bin.tar.gz"; echo "$CASSANDRA_SHA512 *cassandra-bin.tgz" | sha512sum --check --strict -; ddist 'cassandra-bin.tgz.asc' "cassandra/$CASSANDRA_VERSION/apache-cassandra-$CASSANDRA_VERSION-bin.tar.gz.asc"; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --verify cassandra-bin.tgz.asc cassandra-bin.tgz; rm -rf "$GNUPGHOME"; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; mkdir -p "$CASSANDRA_HOME"; tar --extract --file cassandra-bin.tgz --directory "$CASSANDRA_HOME" --strip-components 1; rm cassandra-bin.tgz*; [ ! -e "$CASSANDRA_CONF" ]; mv "$CASSANDRA_HOME/conf" "$CASSANDRA_CONF"; ln -sT "$CASSANDRA_CONF" "$CASSANDRA_HOME/conf"; dpkgArch="$(dpkg --print-architecture)"; case "$dpkgArch" in ppc64el) grep -- '^-Xss256k$' "$CASSANDRA_CONF/jvm.options"; sed -ri 's/^-Xss256k$/-Xss512k/' "$CASSANDRA_CONF/jvm.options"; grep -- '^-Xss512k$' "$CASSANDRA_CONF/jvm.options"; ;; esac; mkdir -p "$CASSANDRA_CONF" /var/lib/cassandra /var/log/cassandra; chown -R cassandra:cassandra "$CASSANDRA_CONF" /var/lib/cassandra /var/log/cassandra; chmod 1777 "$CASSANDRA_CONF" /var/lib/cassandra /var/log/cassandra; chmod -R a+rwX "$CASSANDRA_CONF"; ln -sT /var/lib/cassandra "$CASSANDRA_HOME/data"; ln -sT /var/log/cassandra "$CASSANDRA_HOME/logs"; cassandra -v # buildkit

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/cassandra]

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/local/bin/ # buildkit

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh /docker-entrypoint.sh # backwards compat # buildkit

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

EXPOSE map[7000/tcp:{} 7001/tcp:{} 7199/tcp:{} 9042/tcp:{} 9160/tcp:{}]

2023-08-20 14:24:17 UTC (buildkit.dockerfile.v0)

CMD ["cassandra" "-f"]

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