2024-11-19 11:38:24 UTC
171 MB
/etc/clickhouse-server/config.xml
LANGen_US.UTF-8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
TZUTC
[#000] sha256:d9802f032d6798e2086607424bfe88cb8ec1d6f116e11cd99592dcaf261e9cd2 - 15.34% (26.2 MB)
[#001] sha256:7a440347ebb93bab2ec3d119d746aeec5f2e9a176ac87c281ba5decce1c16053 - 4.91% (8.39 MB)
[#002] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#003] sha256:ccde01371259bb60ee18147004612b7f34168950340e2fb932d464dfa8383083 - 79.25% (136 MB)
[#004] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#005] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#006] sha256:d5b5bce469dce04dc5dde3db63c050f65706bef571bede3f229c6dd2babacfaf - 0.01% (24.9 KB)
[#007] sha256:1e76377d0fac615c770802d77a39945f54766d0d69fb64c7dc0803914f334fdd - 0.48% (843 KB)
[#008] sha256:23f0455bff11b9c5027afffbe0bb44b13496a3a7fa61242c932d8504121d449f - 0.0% (116 Bytes)
[#009] sha256:3cba7a0b1696e8af600eaccf030aca89cf12611926a3420ed774c51266135dcd - 0.0% (365 Bytes)
[#010] sha256:acaad42b6a3c6d83305178ddb10dba2d1656877a3753149aac3f8d9aef30caa6 - 0.0% (3.07 KB)
/bin/sh -c #(nop) ARG RELEASE
2024-10-11 03:38:25 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-10-11 03:38:25 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-10-11 03:38:25 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=20.04
2024-10-11 03:38:27 UTC/bin/sh -c #(nop) ADD file:7486147a645d8835a5181c79f00a3606c6b714c83bcbfcd8862221eb14690f9e in /
2024-10-11 03:38:27 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-11-19 10:54:52 UTC (buildkit.dockerfile.v0)ARG DEBIAN_FRONTEND=noninteractive
2024-11-19 10:54:52 UTC (buildkit.dockerfile.v0)ARG apt_archive=http://archive.ubuntu.com
2024-11-19 10:54:52 UTC (buildkit.dockerfile.v0)RUN |2 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com /bin/sh -c sed -i "s|http://archive.ubuntu.com|${apt_archive}|g" /etc/apt/sources.list && groupadd -r clickhouse --gid=101 && useradd -r -g clickhouse --uid=101 --home-dir=/var/lib/clickhouse --shell=/bin/bash clickhouse && apt-get update && apt-get install --yes --no-install-recommends ca-certificates locales tzdata wget && rm -rf /var/lib/apt/lists/* /var/cache/debconf /tmp/* # buildkit
2024-11-19 10:54:52 UTC (buildkit.dockerfile.v0)ARG REPO_CHANNEL=stable
2024-11-19 10:54:52 UTC (buildkit.dockerfile.v0)ARG REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_release
2024-11-19 10:54:52 UTC (buildkit.dockerfile.v0)ARG VERSION=24.9.3.128
2024-11-19 10:54:52 UTC (buildkit.dockerfile.v0)ARG PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static
2024-11-19 10:54:52 UTC (buildkit.dockerfile.v0)ARG deb_location_url=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_release
2024-11-19 10:54:52 UTC (buildkit.dockerfile.v0)ARG DIRECT_DOWNLOAD_URLS=
2024-11-19 10:54:52 UTC (buildkit.dockerfile.v0)ARG single_binary_location_url=
2024-11-19 10:54:52 UTC (buildkit.dockerfile.v0)ARG TARGETARCH=amd64
2024-11-19 11:37:47 UTC (buildkit.dockerfile.v0)RUN |10 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_release VERSION=24.9.3.128 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_release DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=amd64 /bin/sh -c if [ -n "${DIRECT_DOWNLOAD_URLS}" ]; then echo "installing from custom predefined urls with deb packages: ${DIRECT_DOWNLOAD_URLS}" && rm -rf /tmp/clickhouse_debs && mkdir -p /tmp/clickhouse_debs && for url in $DIRECT_DOWNLOAD_URLS; do wget --progress=bar:force:noscroll "$url" -P /tmp/clickhouse_debs || exit 1 ; done && dpkg -i /tmp/clickhouse_debs/*.deb && rm -rf /tmp/* ; fi # buildkit
2024-11-19 11:38:21 UTC (buildkit.dockerfile.v0)RUN |10 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_release VERSION=24.9.3.128 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_release DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=amd64 /bin/sh -c arch="${TARGETARCH:-amd64}" && if [ -n "${deb_location_url}" ]; then echo "installing from custom url with deb packages: ${deb_location_url}" && rm -rf /tmp/clickhouse_debs && mkdir -p /tmp/clickhouse_debs && for package in ${PACKAGES}; do { wget --progress=bar:force:noscroll "${deb_location_url}/${package}_${VERSION}_${arch}.deb" -P /tmp/clickhouse_debs || wget --progress=bar:force:noscroll "${deb_location_url}/${package}_${VERSION}_all.deb" -P /tmp/clickhouse_debs ; } || exit 1 ; done && dpkg -i /tmp/clickhouse_debs/*.deb && rm -rf /tmp/* ; fi # buildkit
2024-11-19 11:38:21 UTC (buildkit.dockerfile.v0)RUN |10 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_release VERSION=24.9.3.128 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_release DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=amd64 /bin/sh -c if [ -n "${single_binary_location_url}" ]; then echo "installing from single binary url: ${single_binary_location_url}" && rm -rf /tmp/clickhouse_binary && mkdir -p /tmp/clickhouse_binary && wget --progress=bar:force:noscroll "${single_binary_location_url}" -O /tmp/clickhouse_binary/clickhouse && chmod +x /tmp/clickhouse_binary/clickhouse && /tmp/clickhouse_binary/clickhouse install --user "clickhouse" --group "clickhouse" && rm -rf /tmp/* ; fi # buildkit
2024-11-19 11:38:22 UTC (buildkit.dockerfile.v0)RUN |10 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_release VERSION=24.9.3.128 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_release DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=amd64 /bin/sh -c clickhouse local -q 'SELECT 1' >/dev/null 2>&1 && exit 0 || : ; apt-get update && apt-get install --yes --no-install-recommends dirmngr gnupg2 && mkdir -p /etc/apt/sources.list.d && GNUPGHOME=$(mktemp -d) && GNUPGHOME="$GNUPGHOME" gpg --batch --no-default-keyring --keyring /usr/share/keyrings/clickhouse-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3a9ea1193a97b548be1457d48919f6bd2b48d754 && rm -rf "$GNUPGHOME" && chmod +r /usr/share/keyrings/clickhouse-keyring.gpg && echo "${REPOSITORY}" > /etc/apt/sources.list.d/clickhouse.list && echo "installing from repository: ${REPOSITORY}" && apt-get update && for package in ${PACKAGES}; do packages="${packages} ${package}=${VERSION}" ; done && apt-get install --yes --no-install-recommends ${packages} || exit 1 && rm -rf /var/lib/apt/lists/* /var/cache/debconf /tmp/* && apt-get autoremove --purge -yq dirmngr gnupg2 && chmod ugo+Xrw -R /etc/clickhouse-server /etc/clickhouse-client # buildkit
2024-11-19 11:38:22 UTC (buildkit.dockerfile.v0)RUN |10 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_release VERSION=24.9.3.128 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_release DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=amd64 /bin/sh -c clickhouse-local -q 'SELECT * FROM system.build_options' && mkdir -p /var/lib/clickhouse /var/log/clickhouse-server /etc/clickhouse-server /etc/clickhouse-client && chmod ugo+Xrw -R /var/lib/clickhouse /var/log/clickhouse-server /etc/clickhouse-server /etc/clickhouse-client # buildkit
2024-11-19 11:38:23 UTC (buildkit.dockerfile.v0)RUN |10 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_release VERSION=24.9.3.128 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_release DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=amd64 /bin/sh -c locale-gen en_US.UTF-8 # buildkit
2024-11-19 11:38:23 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8
2024-11-19 11:38:23 UTC (buildkit.dockerfile.v0)ENV TZ=UTC
2024-11-19 11:38:23 UTC (buildkit.dockerfile.v0)RUN |10 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_release VERSION=24.9.3.128 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_release DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=amd64 /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-11-19 11:38:23 UTC (buildkit.dockerfile.v0)COPY docker_related_config.xml /etc/clickhouse-server/config.d/ # buildkit
2024-11-19 11:38:24 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh /entrypoint.sh # buildkit
2024-11-19 11:38:24 UTC (buildkit.dockerfile.v0)EXPOSE map[8123/tcp:{} 9000/tcp:{} 9009/tcp:{}]
2024-11-19 11:38:24 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/clickhouse]
2024-11-19 11:38:24 UTC (buildkit.dockerfile.v0)ENV CLICKHOUSE_CONFIG=/etc/clickhouse-server/config.xml
2024-11-19 11:38:24 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2024-11-19 11:40:32 UTC
165 MB
/etc/clickhouse-server/config.xml
LANGen_US.UTF-8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
TZUTC
[#000] sha256:1b9f3c55f9d4aa5c52eb67a4cb7d0f4726ab85a413b50e3e3fe788befce3d297 - 15.05% (24.8 MB)
[#001] sha256:09adac12c6f83027a1524d1170d7fcac706390f27cc759a7c3b5282877227c31 - 5.02% (8.26 MB)
[#002] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#003] sha256:cbad785ffa0e779efd2cd8d4ae9ccde4e668618fe0ff65b5067788e8ae28e1c1 - 79.42% (131 MB)
[#004] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#005] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#006] sha256:ae8bbe9214b5603c62d8d6e51a7a82771fea939ed5d38da30fcffeeab06d491f - 0.01% (24.9 KB)
[#007] sha256:ebf44c3a3892976fa42b02641d19c48ab5a0ffd9da44e757cbfe7c5ee79a7775 - 0.5% (843 KB)
[#008] sha256:245e2262dfbda8480c9357cdebbaace0b7329300a153fcb59a9ceddfd960afe5 - 0.0% (116 Bytes)
[#009] sha256:b4d70ec10d65e0969b32c433825e551810e9059481b289154f0718d4ccca83b7 - 0.0% (366 Bytes)
[#010] sha256:acaad42b6a3c6d83305178ddb10dba2d1656877a3753149aac3f8d9aef30caa6 - 0.0% (3.07 KB)
/bin/sh -c #(nop) ARG RELEASE
2024-10-11 03:39:45 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-10-11 03:39:45 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-10-11 03:39:45 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=20.04
2024-10-11 03:39:47 UTC/bin/sh -c #(nop) ADD file:8537b4db344382b39d669af27cd94ec0f870ceafe58c67ee54e3f9b38fb8d671 in /
2024-10-11 03:39:47 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-11-19 11:00:04 UTC (buildkit.dockerfile.v0)ARG DEBIAN_FRONTEND=noninteractive
2024-11-19 11:00:04 UTC (buildkit.dockerfile.v0)ARG apt_archive=http://archive.ubuntu.com
2024-11-19 11:00:04 UTC (buildkit.dockerfile.v0)RUN |2 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com /bin/sh -c sed -i "s|http://archive.ubuntu.com|${apt_archive}|g" /etc/apt/sources.list && groupadd -r clickhouse --gid=101 && useradd -r -g clickhouse --uid=101 --home-dir=/var/lib/clickhouse --shell=/bin/bash clickhouse && apt-get update && apt-get install --yes --no-install-recommends ca-certificates locales tzdata wget && rm -rf /var/lib/apt/lists/* /var/cache/debconf /tmp/* # buildkit
2024-11-19 11:00:04 UTC (buildkit.dockerfile.v0)ARG REPO_CHANNEL=stable
2024-11-19 11:00:04 UTC (buildkit.dockerfile.v0)ARG REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_aarch64
2024-11-19 11:00:04 UTC (buildkit.dockerfile.v0)ARG VERSION=24.9.3.128
2024-11-19 11:00:04 UTC (buildkit.dockerfile.v0)ARG PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static
2024-11-19 11:00:04 UTC (buildkit.dockerfile.v0)ARG deb_location_url=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_aarch64
2024-11-19 11:00:04 UTC (buildkit.dockerfile.v0)ARG DIRECT_DOWNLOAD_URLS=
2024-11-19 11:00:04 UTC (buildkit.dockerfile.v0)ARG single_binary_location_url=
2024-11-19 11:00:04 UTC (buildkit.dockerfile.v0)ARG TARGETARCH=arm64
2024-11-19 11:39:12 UTC (buildkit.dockerfile.v0)RUN |10 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_aarch64 VERSION=24.9.3.128 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_aarch64 DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=arm64 /bin/sh -c if [ -n "${DIRECT_DOWNLOAD_URLS}" ]; then echo "installing from custom predefined urls with deb packages: ${DIRECT_DOWNLOAD_URLS}" && rm -rf /tmp/clickhouse_debs && mkdir -p /tmp/clickhouse_debs && for url in $DIRECT_DOWNLOAD_URLS; do wget --progress=bar:force:noscroll "$url" -P /tmp/clickhouse_debs || exit 1 ; done && dpkg -i /tmp/clickhouse_debs/*.deb && rm -rf /tmp/* ; fi # buildkit
2024-11-19 11:40:19 UTC (buildkit.dockerfile.v0)RUN |10 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_aarch64 VERSION=24.9.3.128 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_aarch64 DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=arm64 /bin/sh -c arch="${TARGETARCH:-amd64}" && if [ -n "${deb_location_url}" ]; then echo "installing from custom url with deb packages: ${deb_location_url}" && rm -rf /tmp/clickhouse_debs && mkdir -p /tmp/clickhouse_debs && for package in ${PACKAGES}; do { wget --progress=bar:force:noscroll "${deb_location_url}/${package}_${VERSION}_${arch}.deb" -P /tmp/clickhouse_debs || wget --progress=bar:force:noscroll "${deb_location_url}/${package}_${VERSION}_all.deb" -P /tmp/clickhouse_debs ; } || exit 1 ; done && dpkg -i /tmp/clickhouse_debs/*.deb && rm -rf /tmp/* ; fi # buildkit
2024-11-19 11:40:19 UTC (buildkit.dockerfile.v0)RUN |10 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_aarch64 VERSION=24.9.3.128 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_aarch64 DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=arm64 /bin/sh -c if [ -n "${single_binary_location_url}" ]; then echo "installing from single binary url: ${single_binary_location_url}" && rm -rf /tmp/clickhouse_binary && mkdir -p /tmp/clickhouse_binary && wget --progress=bar:force:noscroll "${single_binary_location_url}" -O /tmp/clickhouse_binary/clickhouse && chmod +x /tmp/clickhouse_binary/clickhouse && /tmp/clickhouse_binary/clickhouse install --user "clickhouse" --group "clickhouse" && rm -rf /tmp/* ; fi # buildkit
2024-11-19 11:40:21 UTC (buildkit.dockerfile.v0)RUN |10 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_aarch64 VERSION=24.9.3.128 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_aarch64 DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=arm64 /bin/sh -c clickhouse local -q 'SELECT 1' >/dev/null 2>&1 && exit 0 || : ; apt-get update && apt-get install --yes --no-install-recommends dirmngr gnupg2 && mkdir -p /etc/apt/sources.list.d && GNUPGHOME=$(mktemp -d) && GNUPGHOME="$GNUPGHOME" gpg --batch --no-default-keyring --keyring /usr/share/keyrings/clickhouse-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3a9ea1193a97b548be1457d48919f6bd2b48d754 && rm -rf "$GNUPGHOME" && chmod +r /usr/share/keyrings/clickhouse-keyring.gpg && echo "${REPOSITORY}" > /etc/apt/sources.list.d/clickhouse.list && echo "installing from repository: ${REPOSITORY}" && apt-get update && for package in ${PACKAGES}; do packages="${packages} ${package}=${VERSION}" ; done && apt-get install --yes --no-install-recommends ${packages} || exit 1 && rm -rf /var/lib/apt/lists/* /var/cache/debconf /tmp/* && apt-get autoremove --purge -yq dirmngr gnupg2 && chmod ugo+Xrw -R /etc/clickhouse-server /etc/clickhouse-client # buildkit
2024-11-19 11:40:23 UTC (buildkit.dockerfile.v0)RUN |10 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_aarch64 VERSION=24.9.3.128 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_aarch64 DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=arm64 /bin/sh -c clickhouse-local -q 'SELECT * FROM system.build_options' && mkdir -p /var/lib/clickhouse /var/log/clickhouse-server /etc/clickhouse-server /etc/clickhouse-client && chmod ugo+Xrw -R /var/lib/clickhouse /var/log/clickhouse-server /etc/clickhouse-server /etc/clickhouse-client # buildkit
2024-11-19 11:40:32 UTC (buildkit.dockerfile.v0)RUN |10 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_aarch64 VERSION=24.9.3.128 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_aarch64 DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=arm64 /bin/sh -c locale-gen en_US.UTF-8 # buildkit
2024-11-19 11:40:32 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8
2024-11-19 11:40:32 UTC (buildkit.dockerfile.v0)ENV TZ=UTC
2024-11-19 11:40:32 UTC (buildkit.dockerfile.v0)RUN |10 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_aarch64 VERSION=24.9.3.128 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/24.9/9a816c73dd4eb5f2ff994b1d9a57c5829f3e4811/package_aarch64 DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=arm64 /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-11-19 11:40:32 UTC (buildkit.dockerfile.v0)COPY docker_related_config.xml /etc/clickhouse-server/config.d/ # buildkit
2024-11-19 11:40:32 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh /entrypoint.sh # buildkit
2024-11-19 11:40:32 UTC (buildkit.dockerfile.v0)EXPOSE map[8123/tcp:{} 9000/tcp:{} 9009/tcp:{}]
2024-11-19 11:40:32 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/clickhouse]
2024-11-19 11:40:32 UTC (buildkit.dockerfile.v0)ENV CLICKHOUSE_CONFIG=/etc/clickhouse-server/config.xml
2024-11-19 11:40:32 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
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.