2024-08-26 14:24:33 UTC
167 MB
/etc/cassandra
CASSANDRA_HOME/opt/cassandra
CASSANDRA_SHA51204ed67d55256158f8283edc4cea6a8ab6accbc252bd62c78c3cb8480f8b81dd9f4ec2c1a8009a79b6206d1e3df21f6bf6e18a7d16e2dca7a4be4dafb7100dcde
CASSANDRA_VERSION5.0-rc2
GOSU_VERSION1.17
GPG_KEYSCEC86BB4A0BA9D0F90397CAEF8358FA2F2833C93 C4965EE9E3015D192CCCF2B6F758CE318D77295D 5AED1BF378E9A19DADE1BCB34BD736A82B5C1B00 514A2AD631A57A16DD0047EC749D6EEC0353B12C A26E528B271F19B9E5D8E19EA278B781FE4B2BDA A4C465FEA0C552561A392A61E91335D77E3E87CB 9E66CEC6106D578D0B1EB9BFF1000962B7F6840C C4009872C59B49561310D966D0062876AF30F054 B7842CDAF36E6A3214FAE35D5E85B9AE0B84C041 3E9C876907A560ACA00964F363E9BAD215BBF5F0 F8B7FD00E05C932991A2CD6150EE103D162C5A55 7464AAD9068241C50BA6A26232F35CB2F546D93E CEC5C50B9C629EF0F5AB2706650B72EB14CCD622
JAVA_HOME/opt/java/openjdk
JAVA_VERSIONjdk-17.0.12+7
LANGen_US.UTF-8
LANGUAGEen_US:en
LC_ALLen_US.UTF-8
PATH/opt/cassandra/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:762bedf4b1b784c3de6c5022c5307d63123d3b7cdd59211317e37e9d477deaa0 - 17.43% (29 MB)
[#001] sha256:95f9bd9906fae2af9b98f929fef09d486905c0599093bb299b441e7eed58ada7 - 7.37% (12.3 MB)
[#002] sha256:a32d681e6b995fe897bf388fc57befba67a3692e3f94f2493558cea4f6aab3b4 - 27.08% (45.1 MB)
[#003] sha256:aabdd0a18314116a0ebaebbd74aa891cbb1da4650890b6187e36c306bbdca902 - 0.0% (159 Bytes)
[#004] sha256:5161e45ecd8d096f978edcb483c5ed70580526e02a1f8155653ca1c6c192f097 - 0.0% (2.06 KB)
[#005] sha256:e76f870f77b41884c28131ae85d844f53268ab8a06fcdaaefd9a73025100963b - 0.0% (1.69 KB)
[#006] sha256:a873f7196bca51d92739f32241b12c56dc751e2cf8398404dff7a459a806f23c - 7.11% (11.8 MB)
[#007] sha256:d1fc291f7d12b3f0dbd290b7c1ecca9df7e9dd1d2a3a37bcf8f27536d884fca7 - 0.63% (1.05 MB)
[#008] sha256:91df20274a1d76c0eb93114cfc44d6f73f267f58fbc8150c0dab81eaeb748672 - 40.38% (67.3 MB)
[#009] sha256:0052aa2723499344bc4f00cd9bb21daccf55b6c3295c8eab5e470cfd3bfc2893 - 0.0% (1.19 KB)
/bin/sh -c #(nop) ARG RELEASE
2024-08-13 09:27:22 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-08-13 09:27:22 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-08-13 09:27:22 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2024-08-13 09:27:24 UTC/bin/sh -c #(nop) ADD file:2f8a54a5efd080fb81efea702b4e3e07d946eec7563fb2281bd28950c10ec462 in /
2024-08-13 09:27:24 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/opt/java/openjdk
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)RUN /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/* # buildkit
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENV JAVA_VERSION=jdk-17.0.12+7
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) ESUM='0e8088d7a3a7496faba7ac8787db09dc0264c2bc6f568ea8024fd775a783e13c'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_x64_linux_hotspot_17.0.12_7.tar.gz'; ;; arm64) ESUM='9dfe4c56463690ae67d22268980d8861eb46b907d7914f8f2e6fc7b25778c8ec'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_aarch64_linux_hotspot_17.0.12_7.tar.gz'; ;; armhf) ESUM='f093094abe0cb2bb5a255d8180810030321073520541f289926c4682eda76136'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_arm_linux_hotspot_17.0.12_7.tar.gz'; ;; ppc64el) ESUM='2759c48e1e56117871b04c851af18b92b6992cf67590f602949b96c3cff15c73'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_ppc64le_linux_hotspot_17.0.12_7.tar.gz'; ;; s390x) ESUM='cb1a3857d10e9353862761ce3c6b45573a736ea95cea44bc02dc3a703e57255a'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_s390x_linux_hotspot_17.0.12_7.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; java -Xshare:dump; # buildkit
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; echo "Verifying install ..."; echo "java --version"; java --version; echo "Complete." # buildkit
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)COPY --chmod=755 entrypoint.sh /__cacert_entrypoint.sh # buildkit
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/__cacert_entrypoint.sh"]
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; groupadd -r cassandra --gid=999; useradd -r -g cassandra --uid=999 cassandra # buildkit
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends libjemalloc2 procps python3 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
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-08-26 14:24:33 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
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENV CASSANDRA_HOME=/opt/cassandra
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENV CASSANDRA_CONF=/etc/cassandra
2024-08-26 14:24:33 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
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=CEC86BB4A0BA9D0F90397CAEF8358FA2F2833C93 C4965EE9E3015D192CCCF2B6F758CE318D77295D 5AED1BF378E9A19DADE1BCB34BD736A82B5C1B00 514A2AD631A57A16DD0047EC749D6EEC0353B12C A26E528B271F19B9E5D8E19EA278B781FE4B2BDA A4C465FEA0C552561A392A61E91335D77E3E87CB 9E66CEC6106D578D0B1EB9BFF1000962B7F6840C C4009872C59B49561310D966D0062876AF30F054 B7842CDAF36E6A3214FAE35D5E85B9AE0B84C041 3E9C876907A560ACA00964F363E9BAD215BBF5F0 F8B7FD00E05C932991A2CD6150EE103D162C5A55 7464AAD9068241C50BA6A26232F35CB2F546D93E CEC5C50B9C629EF0F5AB2706650B72EB14CCD622
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENV CASSANDRA_VERSION=5.0-rc2
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENV CASSANDRA_SHA512=04ed67d55256158f8283edc4cea6a8ab6accbc252bd62c78c3cb8480f8b81dd9f4ec2c1a8009a79b6206d1e3df21f6bf6e18a7d16e2dca7a4be4dafb7100dcde
2024-08-26 14:24:33 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://dlcdn.apache.org/ 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-server.options"; sed -ri 's/^-Xss256k$/-Xss512k/' "$CASSANDRA_CONF/jvm-server.options"; grep -- '^-Xss512k$' "$CASSANDRA_CONF/jvm-server.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
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/cassandra]
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)EXPOSE map[7000/tcp:{} 7001/tcp:{} 7199/tcp:{} 9042/tcp:{} 9160/tcp:{}]
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)CMD ["cassandra" "-f"]
2024-08-26 14:24:33 UTC
160 MB
/etc/cassandra
CASSANDRA_HOME/opt/cassandra
CASSANDRA_SHA51204ed67d55256158f8283edc4cea6a8ab6accbc252bd62c78c3cb8480f8b81dd9f4ec2c1a8009a79b6206d1e3df21f6bf6e18a7d16e2dca7a4be4dafb7100dcde
CASSANDRA_VERSION5.0-rc2
GOSU_VERSION1.17
GPG_KEYSCEC86BB4A0BA9D0F90397CAEF8358FA2F2833C93 C4965EE9E3015D192CCCF2B6F758CE318D77295D 5AED1BF378E9A19DADE1BCB34BD736A82B5C1B00 514A2AD631A57A16DD0047EC749D6EEC0353B12C A26E528B271F19B9E5D8E19EA278B781FE4B2BDA A4C465FEA0C552561A392A61E91335D77E3E87CB 9E66CEC6106D578D0B1EB9BFF1000962B7F6840C C4009872C59B49561310D966D0062876AF30F054 B7842CDAF36E6A3214FAE35D5E85B9AE0B84C041 3E9C876907A560ACA00964F363E9BAD215BBF5F0 F8B7FD00E05C932991A2CD6150EE103D162C5A55 7464AAD9068241C50BA6A26232F35CB2F546D93E CEC5C50B9C629EF0F5AB2706650B72EB14CCD622
JAVA_HOME/opt/java/openjdk
JAVA_VERSIONjdk-17.0.12+7
LANGen_US.UTF-8
LANGUAGEen_US:en
LC_ALLen_US.UTF-8
PATH/opt/cassandra/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:f2a599e193acb4c0e6567f9f5e0b191f59e170d5062a49d73761ee20623e6788 - 16.39% (26.3 MB)
[#001] sha256:7b092dd5a78dc4cf071309a2972d23807d1b19451ad8ff7aae557e8af16e175a - 7.42% (11.9 MB)
[#002] sha256:8308c7b76aa51393531244b73fd89897b6afbfa6c6c4171da12982614da4dc35 - 26.75% (42.9 MB)
[#003] sha256:8c641e075d513f73e58e24690d8ff37ba4f4f34273aae222d9908e3043b55d5f - 0.0% (159 Bytes)
[#004] sha256:8c790677cc5bc3ef9266d267d3aa5bb4f27d5632513b44a0b0de163ebb269fc0 - 0.0% (2.06 KB)
[#005] sha256:d03f3be45aadb1de416745c397ab2b48e57435feb3d6a7bc55c72055a7f9d2f4 - 0.0% (1.69 KB)
[#006] sha256:2927f61a4d47cac12b88d04fd79a9ca1b1883450d9d533f0286c06b3f2e33181 - 6.83% (10.9 MB)
[#007] sha256:f67879744bbd7ff2c9af07be5357bc8b7b4c330768b6bf4565fee44d7ec4497d - 0.63% (1.02 MB)
[#008] sha256:4bbcb8a2bf6e4b0f0978164ec01c3fadc3a833460192088134b15473b3fa96d2 - 41.97% (67.3 MB)
[#009] sha256:a17285a17e810ca882c8122f17ca98fa92a27867d2143cf69aced0cccd00877b - 0.0% (1.19 KB)
/bin/sh -c #(nop) ARG RELEASE
2024-08-13 09:28:06 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-08-13 09:28:06 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-08-13 09:28:06 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2024-08-13 09:28:09 UTC/bin/sh -c #(nop) ADD file:ef971273c60fcf0d0b0a4e71a5e5421060cd7c316f1d9af068a193c23dc81d31 in /
2024-08-13 09:28:09 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/opt/java/openjdk
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)RUN /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/* # buildkit
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENV JAVA_VERSION=jdk-17.0.12+7
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) ESUM='0e8088d7a3a7496faba7ac8787db09dc0264c2bc6f568ea8024fd775a783e13c'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_x64_linux_hotspot_17.0.12_7.tar.gz'; ;; arm64) ESUM='9dfe4c56463690ae67d22268980d8861eb46b907d7914f8f2e6fc7b25778c8ec'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_aarch64_linux_hotspot_17.0.12_7.tar.gz'; ;; armhf) ESUM='f093094abe0cb2bb5a255d8180810030321073520541f289926c4682eda76136'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_arm_linux_hotspot_17.0.12_7.tar.gz'; ;; ppc64el) ESUM='2759c48e1e56117871b04c851af18b92b6992cf67590f602949b96c3cff15c73'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_ppc64le_linux_hotspot_17.0.12_7.tar.gz'; ;; s390x) ESUM='cb1a3857d10e9353862761ce3c6b45573a736ea95cea44bc02dc3a703e57255a'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_s390x_linux_hotspot_17.0.12_7.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; java -Xshare:dump; # buildkit
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; echo "Verifying install ..."; echo "java --version"; java --version; echo "Complete." # buildkit
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)COPY --chmod=755 entrypoint.sh /__cacert_entrypoint.sh # buildkit
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/__cacert_entrypoint.sh"]
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; groupadd -r cassandra --gid=999; useradd -r -g cassandra --uid=999 cassandra # buildkit
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends libjemalloc2 procps python3 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
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-08-26 14:24:33 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
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENV CASSANDRA_HOME=/opt/cassandra
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENV CASSANDRA_CONF=/etc/cassandra
2024-08-26 14:24:33 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
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=CEC86BB4A0BA9D0F90397CAEF8358FA2F2833C93 C4965EE9E3015D192CCCF2B6F758CE318D77295D 5AED1BF378E9A19DADE1BCB34BD736A82B5C1B00 514A2AD631A57A16DD0047EC749D6EEC0353B12C A26E528B271F19B9E5D8E19EA278B781FE4B2BDA A4C465FEA0C552561A392A61E91335D77E3E87CB 9E66CEC6106D578D0B1EB9BFF1000962B7F6840C C4009872C59B49561310D966D0062876AF30F054 B7842CDAF36E6A3214FAE35D5E85B9AE0B84C041 3E9C876907A560ACA00964F363E9BAD215BBF5F0 F8B7FD00E05C932991A2CD6150EE103D162C5A55 7464AAD9068241C50BA6A26232F35CB2F546D93E CEC5C50B9C629EF0F5AB2706650B72EB14CCD622
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENV CASSANDRA_VERSION=5.0-rc2
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENV CASSANDRA_SHA512=04ed67d55256158f8283edc4cea6a8ab6accbc252bd62c78c3cb8480f8b81dd9f4ec2c1a8009a79b6206d1e3df21f6bf6e18a7d16e2dca7a4be4dafb7100dcde
2024-08-26 14:24:33 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://dlcdn.apache.org/ 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-server.options"; sed -ri 's/^-Xss256k$/-Xss512k/' "$CASSANDRA_CONF/jvm-server.options"; grep -- '^-Xss512k$' "$CASSANDRA_CONF/jvm-server.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
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/cassandra]
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)EXPOSE map[7000/tcp:{} 7001/tcp:{} 7199/tcp:{} 9042/tcp:{} 9160/tcp:{}]
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)CMD ["cassandra" "-f"]
2024-08-26 14:24:33 UTC
164 MB
/etc/cassandra
CASSANDRA_HOME/opt/cassandra
CASSANDRA_SHA51204ed67d55256158f8283edc4cea6a8ab6accbc252bd62c78c3cb8480f8b81dd9f4ec2c1a8009a79b6206d1e3df21f6bf6e18a7d16e2dca7a4be4dafb7100dcde
CASSANDRA_VERSION5.0-rc2
GOSU_VERSION1.17
GPG_KEYSCEC86BB4A0BA9D0F90397CAEF8358FA2F2833C93 C4965EE9E3015D192CCCF2B6F758CE318D77295D 5AED1BF378E9A19DADE1BCB34BD736A82B5C1B00 514A2AD631A57A16DD0047EC749D6EEC0353B12C A26E528B271F19B9E5D8E19EA278B781FE4B2BDA A4C465FEA0C552561A392A61E91335D77E3E87CB 9E66CEC6106D578D0B1EB9BFF1000962B7F6840C C4009872C59B49561310D966D0062876AF30F054 B7842CDAF36E6A3214FAE35D5E85B9AE0B84C041 3E9C876907A560ACA00964F363E9BAD215BBF5F0 F8B7FD00E05C932991A2CD6150EE103D162C5A55 7464AAD9068241C50BA6A26232F35CB2F546D93E CEC5C50B9C629EF0F5AB2706650B72EB14CCD622
JAVA_HOME/opt/java/openjdk
JAVA_VERSIONjdk-17.0.12+7
LANGen_US.UTF-8
LANGUAGEen_US:en
LC_ALLen_US.UTF-8
PATH/opt/cassandra/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:f99601f39010ba98f3cb03ebfcc356cf14d93d5f585f680a3651901dce700f45 - 16.52% (27.1 MB)
[#001] sha256:44a13fc23d23d50177fc33d5df0e5c516fdbaae7d5cb53c11d634dff7e6e365e - 7.45% (12.2 MB)
[#002] sha256:fe26b7a9fc390ef63cf055e6e311a50e2bb6c11bc64c80f450417a71eb7ba031 - 27.2% (44.6 MB)
[#003] sha256:98a5437d6fef2529f65b67ce9b2a75371cef52e384174649eac3424168e5c623 - 0.0% (159 Bytes)
[#004] sha256:7525b10c4bd14139ded90d85ae282e53b2795402b1d01d327856dc57969f13e3 - 0.0% (2.06 KB)
[#005] sha256:513fbcd2cac652801f876b2634f731bb1812940fe10e6cbac3df2b927082f424 - 0.0% (1.69 KB)
[#006] sha256:354a0c2ff31e07e85e8eae293c137ee4422cdbe21452eb317fa5391e8ee655aa - 7.2% (11.8 MB)
[#007] sha256:d320c3c8bcb182fa5876d682852949aa8700248b703b3807ed99417c511260e9 - 0.6% (1010 KB)
[#008] sha256:e983da00f5683d3af92fedabbbe79447590ec1b5cc23d7baaadca67893f6c7f1 - 41.03% (67.3 MB)
[#009] sha256:901260caad19b8cc8f4e84f563012815a36f88f025796c8feb988cbbcba19a67 - 0.0% (1.19 KB)
/bin/sh -c #(nop) ARG RELEASE
2024-08-13 09:28:17 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-08-13 09:28:17 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-08-13 09:28:17 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2024-08-13 09:28:20 UTC/bin/sh -c #(nop) ADD file:4126c5ecc7750c7d2beb8c08d15aea03d96910453b36d2fb2d41185fdca7b20f in /
2024-08-13 09:28:20 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/opt/java/openjdk
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)RUN /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/* # buildkit
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENV JAVA_VERSION=jdk-17.0.12+7
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) ESUM='0e8088d7a3a7496faba7ac8787db09dc0264c2bc6f568ea8024fd775a783e13c'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_x64_linux_hotspot_17.0.12_7.tar.gz'; ;; arm64) ESUM='9dfe4c56463690ae67d22268980d8861eb46b907d7914f8f2e6fc7b25778c8ec'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_aarch64_linux_hotspot_17.0.12_7.tar.gz'; ;; armhf) ESUM='f093094abe0cb2bb5a255d8180810030321073520541f289926c4682eda76136'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_arm_linux_hotspot_17.0.12_7.tar.gz'; ;; ppc64el) ESUM='2759c48e1e56117871b04c851af18b92b6992cf67590f602949b96c3cff15c73'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_ppc64le_linux_hotspot_17.0.12_7.tar.gz'; ;; s390x) ESUM='cb1a3857d10e9353862761ce3c6b45573a736ea95cea44bc02dc3a703e57255a'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_s390x_linux_hotspot_17.0.12_7.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; java -Xshare:dump; # buildkit
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; echo "Verifying install ..."; echo "java --version"; java --version; echo "Complete." # buildkit
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)COPY --chmod=755 entrypoint.sh /__cacert_entrypoint.sh # buildkit
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/__cacert_entrypoint.sh"]
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; groupadd -r cassandra --gid=999; useradd -r -g cassandra --uid=999 cassandra # buildkit
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends libjemalloc2 procps python3 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
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-08-26 14:24:33 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
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENV CASSANDRA_HOME=/opt/cassandra
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENV CASSANDRA_CONF=/etc/cassandra
2024-08-26 14:24:33 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
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=CEC86BB4A0BA9D0F90397CAEF8358FA2F2833C93 C4965EE9E3015D192CCCF2B6F758CE318D77295D 5AED1BF378E9A19DADE1BCB34BD736A82B5C1B00 514A2AD631A57A16DD0047EC749D6EEC0353B12C A26E528B271F19B9E5D8E19EA278B781FE4B2BDA A4C465FEA0C552561A392A61E91335D77E3E87CB 9E66CEC6106D578D0B1EB9BFF1000962B7F6840C C4009872C59B49561310D966D0062876AF30F054 B7842CDAF36E6A3214FAE35D5E85B9AE0B84C041 3E9C876907A560ACA00964F363E9BAD215BBF5F0 F8B7FD00E05C932991A2CD6150EE103D162C5A55 7464AAD9068241C50BA6A26232F35CB2F546D93E CEC5C50B9C629EF0F5AB2706650B72EB14CCD622
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENV CASSANDRA_VERSION=5.0-rc2
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENV CASSANDRA_SHA512=04ed67d55256158f8283edc4cea6a8ab6accbc252bd62c78c3cb8480f8b81dd9f4ec2c1a8009a79b6206d1e3df21f6bf6e18a7d16e2dca7a4be4dafb7100dcde
2024-08-26 14:24:33 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://dlcdn.apache.org/ 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-server.options"; sed -ri 's/^-Xss256k$/-Xss512k/' "$CASSANDRA_CONF/jvm-server.options"; grep -- '^-Xss512k$' "$CASSANDRA_CONF/jvm-server.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
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/cassandra]
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)EXPOSE map[7000/tcp:{} 7001/tcp:{} 7199/tcp:{} 9042/tcp:{} 9160/tcp:{}]
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)CMD ["cassandra" "-f"]
2024-08-26 14:24:33 UTC
173 MB
/etc/cassandra
CASSANDRA_HOME/opt/cassandra
CASSANDRA_SHA51204ed67d55256158f8283edc4cea6a8ab6accbc252bd62c78c3cb8480f8b81dd9f4ec2c1a8009a79b6206d1e3df21f6bf6e18a7d16e2dca7a4be4dafb7100dcde
CASSANDRA_VERSION5.0-rc2
GOSU_VERSION1.17
GPG_KEYSCEC86BB4A0BA9D0F90397CAEF8358FA2F2833C93 C4965EE9E3015D192CCCF2B6F758CE318D77295D 5AED1BF378E9A19DADE1BCB34BD736A82B5C1B00 514A2AD631A57A16DD0047EC749D6EEC0353B12C A26E528B271F19B9E5D8E19EA278B781FE4B2BDA A4C465FEA0C552561A392A61E91335D77E3E87CB 9E66CEC6106D578D0B1EB9BFF1000962B7F6840C C4009872C59B49561310D966D0062876AF30F054 B7842CDAF36E6A3214FAE35D5E85B9AE0B84C041 3E9C876907A560ACA00964F363E9BAD215BBF5F0 F8B7FD00E05C932991A2CD6150EE103D162C5A55 7464AAD9068241C50BA6A26232F35CB2F546D93E CEC5C50B9C629EF0F5AB2706650B72EB14CCD622
JAVA_HOME/opt/java/openjdk
JAVA_VERSIONjdk-17.0.12+7
LANGen_US.UTF-8
LANGUAGEen_US:en
LC_ALLen_US.UTF-8
PATH/opt/cassandra/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:80c625afbf07d8c6d2718c777f706ddee78a027c79596515653025fb506d8670 - 19.64% (33.9 MB)
[#001] sha256:1c2b9159aba5847bda25160889018a02e4997ea0539f37f28faa599fcc4e6e59 - 7.57% (13.1 MB)
[#002] sha256:c8df1510f2e515b4ef656dd9c93352c60dc24965dd8ee75c31bc74018cb42aeb - 26.01% (44.9 MB)
[#003] sha256:1d6716094041a01730dfc01fdf740d805f8100542358fe6f56639974b95f13ce - 0.0% (161 Bytes)
[#004] sha256:98ff4fd572d6d5509077d991254c470c69c62db63e9060083f4f1902323d94df - 0.0% (2.06 KB)
[#005] sha256:6cd1279b16af3e356c1ecab83c7ae675bf18c97e57ce3110fb99e57f82664205 - 0.0% (1.69 KB)
[#006] sha256:f720b4e1d66c968e5adbbb4436cf3c4ca09a0cf6000488ebda7b10ff17386142 - 7.29% (12.6 MB)
[#007] sha256:19f7fc9ed0c311e7f1be3a7d5487b599ab9ba7beedc24932d7f2b164e7e03a66 - 0.56% (995 KB)
[#008] sha256:fe49fffd397b5a49a3696faee19d82cf6aac3c19357f2e07f023e05598badc7e - 38.92% (67.3 MB)
[#009] sha256:ff820e84b7cbc45aafb9b180168a9465575bf7901de2b2ab587c97c22c4bd345 - 0.0% (1.19 KB)
/bin/sh -c #(nop) ARG RELEASE
2024-08-13 09:28:11 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-08-13 09:28:11 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-08-13 09:28:11 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2024-08-13 09:28:15 UTC/bin/sh -c #(nop) ADD file:c9b0fd1ddcc2e70c763a44be7034882e75f36c79435448061c7785f0f01476db in /
2024-08-13 09:28:15 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/opt/java/openjdk
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)RUN /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/* # buildkit
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENV JAVA_VERSION=jdk-17.0.12+7
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) ESUM='0e8088d7a3a7496faba7ac8787db09dc0264c2bc6f568ea8024fd775a783e13c'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_x64_linux_hotspot_17.0.12_7.tar.gz'; ;; arm64) ESUM='9dfe4c56463690ae67d22268980d8861eb46b907d7914f8f2e6fc7b25778c8ec'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_aarch64_linux_hotspot_17.0.12_7.tar.gz'; ;; armhf) ESUM='f093094abe0cb2bb5a255d8180810030321073520541f289926c4682eda76136'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_arm_linux_hotspot_17.0.12_7.tar.gz'; ;; ppc64el) ESUM='2759c48e1e56117871b04c851af18b92b6992cf67590f602949b96c3cff15c73'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_ppc64le_linux_hotspot_17.0.12_7.tar.gz'; ;; s390x) ESUM='cb1a3857d10e9353862761ce3c6b45573a736ea95cea44bc02dc3a703e57255a'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_s390x_linux_hotspot_17.0.12_7.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; java -Xshare:dump; # buildkit
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; echo "Verifying install ..."; echo "java --version"; java --version; echo "Complete." # buildkit
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)COPY --chmod=755 entrypoint.sh /__cacert_entrypoint.sh # buildkit
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/__cacert_entrypoint.sh"]
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; groupadd -r cassandra --gid=999; useradd -r -g cassandra --uid=999 cassandra # buildkit
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends libjemalloc2 procps python3 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
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-08-26 14:24:33 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
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENV CASSANDRA_HOME=/opt/cassandra
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENV CASSANDRA_CONF=/etc/cassandra
2024-08-26 14:24:33 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
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=CEC86BB4A0BA9D0F90397CAEF8358FA2F2833C93 C4965EE9E3015D192CCCF2B6F758CE318D77295D 5AED1BF378E9A19DADE1BCB34BD736A82B5C1B00 514A2AD631A57A16DD0047EC749D6EEC0353B12C A26E528B271F19B9E5D8E19EA278B781FE4B2BDA A4C465FEA0C552561A392A61E91335D77E3E87CB 9E66CEC6106D578D0B1EB9BFF1000962B7F6840C C4009872C59B49561310D966D0062876AF30F054 B7842CDAF36E6A3214FAE35D5E85B9AE0B84C041 3E9C876907A560ACA00964F363E9BAD215BBF5F0 F8B7FD00E05C932991A2CD6150EE103D162C5A55 7464AAD9068241C50BA6A26232F35CB2F546D93E CEC5C50B9C629EF0F5AB2706650B72EB14CCD622
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENV CASSANDRA_VERSION=5.0-rc2
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENV CASSANDRA_SHA512=04ed67d55256158f8283edc4cea6a8ab6accbc252bd62c78c3cb8480f8b81dd9f4ec2c1a8009a79b6206d1e3df21f6bf6e18a7d16e2dca7a4be4dafb7100dcde
2024-08-26 14:24:33 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://dlcdn.apache.org/ 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-server.options"; sed -ri 's/^-Xss256k$/-Xss512k/' "$CASSANDRA_CONF/jvm-server.options"; grep -- '^-Xss512k$' "$CASSANDRA_CONF/jvm-server.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
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/cassandra]
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)EXPOSE map[7000/tcp:{} 7001/tcp:{} 7199/tcp:{} 9042/tcp:{} 9160/tcp:{}]
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)CMD ["cassandra" "-f"]
2024-08-26 14:24:33 UTC
161 MB
/etc/cassandra
CASSANDRA_HOME/opt/cassandra
CASSANDRA_SHA51204ed67d55256158f8283edc4cea6a8ab6accbc252bd62c78c3cb8480f8b81dd9f4ec2c1a8009a79b6206d1e3df21f6bf6e18a7d16e2dca7a4be4dafb7100dcde
CASSANDRA_VERSION5.0-rc2
GOSU_VERSION1.17
GPG_KEYSCEC86BB4A0BA9D0F90397CAEF8358FA2F2833C93 C4965EE9E3015D192CCCF2B6F758CE318D77295D 5AED1BF378E9A19DADE1BCB34BD736A82B5C1B00 514A2AD631A57A16DD0047EC749D6EEC0353B12C A26E528B271F19B9E5D8E19EA278B781FE4B2BDA A4C465FEA0C552561A392A61E91335D77E3E87CB 9E66CEC6106D578D0B1EB9BFF1000962B7F6840C C4009872C59B49561310D966D0062876AF30F054 B7842CDAF36E6A3214FAE35D5E85B9AE0B84C041 3E9C876907A560ACA00964F363E9BAD215BBF5F0 F8B7FD00E05C932991A2CD6150EE103D162C5A55 7464AAD9068241C50BA6A26232F35CB2F546D93E CEC5C50B9C629EF0F5AB2706650B72EB14CCD622
JAVA_HOME/opt/java/openjdk
JAVA_VERSIONjdk-17.0.12+7
LANGen_US.UTF-8
LANGUAGEen_US:en
LC_ALLen_US.UTF-8
PATH/opt/cassandra/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:9a6ca8a36259241f44c15c84a37ed8ab040ccfe0f554bcfa04c618e1afbe5c0b - 16.92% (27.3 MB)
[#001] sha256:f487d2bc1de52e44ed06dfc0c18b748d484f1eb638bdc1cbf599195a96c480be - 7.66% (12.4 MB)
[#002] sha256:cbb43b5eb6b749b20cbc0d4d49fa146e13299ac7c636c67f6b885928ff809d1d - 25.92% (41.8 MB)
[#003] sha256:faa6e76a567ef01fbd878046dfba9c29424f4011e53ee93496f2d3290648a8d1 - 0.0% (161 Bytes)
[#004] sha256:436b27d7c7e10a663ee6272640668b780b0fc626cf34c50e8fbae3c0488723b1 - 0.0% (2.06 KB)
[#005] sha256:60c09aa86b65f1f1c32e37e2e46d03aac8e3d41f8efb07ca05f78690f9d93cda - 0.0% (1.69 KB)
[#006] sha256:7fa0f7f4fe187b77baed8b8e2b87e5cd86d44720fc710b7fa1995c5042cce89a - 7.2% (11.6 MB)
[#007] sha256:5a434e131dd8905680e630079dfd195b7b0cd1c5f74fce80a1a171fa84f24818 - 0.63% (1.01 MB)
[#008] sha256:99b137d98cd8eea16eab013ddc51319303e76315f932203d70bde1673b48eb55 - 41.67% (67.3 MB)
[#009] sha256:3b52489e2c075402103b8249ca0c7af88b49764b2f2da08a05272b2a8bd2ffea - 0.0% (1.19 KB)
/bin/sh -c #(nop) ARG RELEASE
2024-08-13 09:28:22 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-08-13 09:28:22 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-08-13 09:28:22 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2024-08-13 09:28:24 UTC/bin/sh -c #(nop) ADD file:560440017e541c07ad2788f24ed9fd81ef2e2966bd15d8bdd9726934a79c5242 in /
2024-08-13 09:28:24 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/opt/java/openjdk
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)RUN /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/* # buildkit
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENV JAVA_VERSION=jdk-17.0.12+7
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) ESUM='0e8088d7a3a7496faba7ac8787db09dc0264c2bc6f568ea8024fd775a783e13c'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_x64_linux_hotspot_17.0.12_7.tar.gz'; ;; arm64) ESUM='9dfe4c56463690ae67d22268980d8861eb46b907d7914f8f2e6fc7b25778c8ec'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_aarch64_linux_hotspot_17.0.12_7.tar.gz'; ;; armhf) ESUM='f093094abe0cb2bb5a255d8180810030321073520541f289926c4682eda76136'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_arm_linux_hotspot_17.0.12_7.tar.gz'; ;; ppc64el) ESUM='2759c48e1e56117871b04c851af18b92b6992cf67590f602949b96c3cff15c73'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_ppc64le_linux_hotspot_17.0.12_7.tar.gz'; ;; s390x) ESUM='cb1a3857d10e9353862761ce3c6b45573a736ea95cea44bc02dc3a703e57255a'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_s390x_linux_hotspot_17.0.12_7.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; java -Xshare:dump; # buildkit
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; echo "Verifying install ..."; echo "java --version"; java --version; echo "Complete." # buildkit
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)COPY --chmod=755 entrypoint.sh /__cacert_entrypoint.sh # buildkit
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/__cacert_entrypoint.sh"]
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; groupadd -r cassandra --gid=999; useradd -r -g cassandra --uid=999 cassandra # buildkit
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends libjemalloc2 procps python3 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
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-08-26 14:24:33 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
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENV CASSANDRA_HOME=/opt/cassandra
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENV CASSANDRA_CONF=/etc/cassandra
2024-08-26 14:24:33 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
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=CEC86BB4A0BA9D0F90397CAEF8358FA2F2833C93 C4965EE9E3015D192CCCF2B6F758CE318D77295D 5AED1BF378E9A19DADE1BCB34BD736A82B5C1B00 514A2AD631A57A16DD0047EC749D6EEC0353B12C A26E528B271F19B9E5D8E19EA278B781FE4B2BDA A4C465FEA0C552561A392A61E91335D77E3E87CB 9E66CEC6106D578D0B1EB9BFF1000962B7F6840C C4009872C59B49561310D966D0062876AF30F054 B7842CDAF36E6A3214FAE35D5E85B9AE0B84C041 3E9C876907A560ACA00964F363E9BAD215BBF5F0 F8B7FD00E05C932991A2CD6150EE103D162C5A55 7464AAD9068241C50BA6A26232F35CB2F546D93E CEC5C50B9C629EF0F5AB2706650B72EB14CCD622
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENV CASSANDRA_VERSION=5.0-rc2
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENV CASSANDRA_SHA512=04ed67d55256158f8283edc4cea6a8ab6accbc252bd62c78c3cb8480f8b81dd9f4ec2c1a8009a79b6206d1e3df21f6bf6e18a7d16e2dca7a4be4dafb7100dcde
2024-08-26 14:24:33 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://dlcdn.apache.org/ 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-server.options"; sed -ri 's/^-Xss256k$/-Xss512k/' "$CASSANDRA_CONF/jvm-server.options"; grep -- '^-Xss512k$' "$CASSANDRA_CONF/jvm-server.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
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/cassandra]
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)EXPOSE map[7000/tcp:{} 7001/tcp:{} 7199/tcp:{} 9042/tcp:{} 9160/tcp:{}]
2024-08-26 14:24:33 UTC (buildkit.dockerfile.v0)CMD ["cassandra" "-f"]
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.