2026-06-29 14:53:24 UTC
249 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:40d16f30db405106ef8074779bdf41f012465c2a785bbeaa2eab9f2081099b47 - 11.37% (28.4 MB)
[#001] sha256:49f467916923150168367e23f57d7a49664245430e12cb4a17979031f5885c7c - 2.91% (7.25 MB)
[#002] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#003] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#004] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#005] sha256:8c661b04423be37eed0f6663325067d69d83775cbaeee05cef1292a1ea7eba01 - 85.39% (213 MB)
[#006] sha256:f7458e2b87630b17e440cceb5e7c29be3dfa72932ca09721d42c62540a6829b4 - 0.0% (186 Bytes)
[#007] sha256:e43e9f9dcb3504b9a08e3d23322926fe50fef1870ef7c862412b24a19cbd131c - 0.33% (845 KB)
[#008] sha256:5faeb402d7f028cf5590f30ea62caa5ee8af77809211d98a446c33a5e0c1c0e3 - 0.0% (116 Bytes)
[#009] sha256:3f591259f569851ecffbc1f885c200805049dca775af9eaf03aa43fc6e305b19 - 0.0% (366 Bytes)
[#010] sha256:0602c26a1b45822876c44af1d263ddb3d5888dd2e933de56048c062a84a1c553 - 0.0% (3.55 KB)
/bin/sh -c #(nop) ARG RELEASE
2026-05-09 04:49:21 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2026-05-09 04:49:21 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2026-05-09 04:49:23 UTC/bin/sh -c #(nop) ADD file:14c8897ef5107db11b35f5a0c05bdcb883c0a6daa83d07d4439865541f08514c in /
2026-05-09 04:49:23 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2026-05-20 15:11:50 UTC (buildkit.dockerfile.v0)ARG DEBIAN_FRONTEND=noninteractive
2026-05-20 15:11:50 UTC (buildkit.dockerfile.v0)ARG apt_archive=http://archive.ubuntu.com
2026-05-20 15:11:50 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 busybox ca-certificates locales tzdata wget && busybox --install -s && rm -rf /var/lib/apt/lists/* /var/cache/debconf /tmp/* # buildkit
2026-05-20 15:11:50 UTC (buildkit.dockerfile.v0)ARG REPO_CHANNEL=stable
2026-05-20 15:11:50 UTC (buildkit.dockerfile.v0)ARG REPOSITORY=deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg] https://packages.clickhouse.com/deb stable main
2026-05-20 15:11:50 UTC (buildkit.dockerfile.v0)ARG VERSION=26.5.4.21
2026-05-20 15:11:50 UTC (buildkit.dockerfile.v0)ARG PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static
2026-05-20 15:11:50 UTC (buildkit.dockerfile.v0)ARG deb_location_url=
2026-05-20 15:11:50 UTC (buildkit.dockerfile.v0)ARG DIRECT_DOWNLOAD_URLS=
2026-05-20 15:11:50 UTC (buildkit.dockerfile.v0)ARG single_binary_location_url=
2026-05-20 15:11:50 UTC (buildkit.dockerfile.v0)ARG TARGETARCH=amd64
2026-05-20 15:11:50 UTC (buildkit.dockerfile.v0)ARG WGET_RETRIES=5
2026-05-20 15:11:50 UTC (buildkit.dockerfile.v0)ARG WGET_RETRY_DELAY=1
2026-06-29 14:52:50 UTC (buildkit.dockerfile.v0)RUN |12 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg] https://packages.clickhouse.com/deb stable main VERSION=26.5.4.21 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url= DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=amd64 WGET_RETRIES=5 WGET_RETRY_DELAY=1 /bin/sh -c wget_with_retry() { local attempt=1; while [ "$attempt" -le "${WGET_RETRIES}" ]; do if wget --progress=bar:force:noscroll "$@"; then return 0; fi; echo "Attempt $attempt/${WGET_RETRIES} failed, retrying in ${WGET_RETRY_DELAY}s..."; sleep "${WGET_RETRY_DELAY}"; attempt=$((attempt + 1)); done; echo "ERROR: Failed to download after ${WGET_RETRIES} attempts"; return 1; } && 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_with_retry "$url" -P /tmp/clickhouse_debs || exit 1 ; done && dpkg -i /tmp/clickhouse_debs/*.deb && rm -rf /tmp/* ; fi # buildkit
2026-06-29 14:52:50 UTC (buildkit.dockerfile.v0)RUN |12 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg] https://packages.clickhouse.com/deb stable main VERSION=26.5.4.21 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url= DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=amd64 WGET_RETRIES=5 WGET_RETRY_DELAY=1 /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
2026-06-29 14:52:50 UTC (buildkit.dockerfile.v0)RUN |12 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg] https://packages.clickhouse.com/deb stable main VERSION=26.5.4.21 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url= DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=amd64 WGET_RETRIES=5 WGET_RETRY_DELAY=1 /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
2026-06-29 14:53:21 UTC (buildkit.dockerfile.v0)RUN |12 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg] https://packages.clickhouse.com/deb stable main VERSION=26.5.4.21 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url= DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=amd64 WGET_RETRIES=5 WGET_RETRY_DELAY=1 /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) && ( set +e; for KEYSERVER in hkp://keys.openpgp.org:80 hkp://pgp.mit.edu:80 hkp://keyserver.ubuntu.com:80; do GNUPGHOME="$GNUPGHOME" gpg --batch --no-default-keyring --keyring /usr/share/keyrings/clickhouse-keyring.gpg --keyserver "$KEYSERVER" --recv-keys 3a9ea1193a97b548be1457d48919f6bd2b48d754 && break; done || exit 1 ) && 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
2026-06-29 14:53:22 UTC (buildkit.dockerfile.v0)RUN |12 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg] https://packages.clickhouse.com/deb stable main VERSION=26.5.4.21 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url= DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=amd64 WGET_RETRIES=5 WGET_RETRY_DELAY=1 /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
2026-06-29 14:53:24 UTC (buildkit.dockerfile.v0)RUN |12 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg] https://packages.clickhouse.com/deb stable main VERSION=26.5.4.21 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url= DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=amd64 WGET_RETRIES=5 WGET_RETRY_DELAY=1 /bin/sh -c locale-gen en_US.UTF-8 # buildkit
2026-06-29 14:53:24 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8
2026-06-29 14:53:24 UTC (buildkit.dockerfile.v0)ENV TZ=UTC
2026-06-29 14:53:24 UTC (buildkit.dockerfile.v0)RUN |12 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg] https://packages.clickhouse.com/deb stable main VERSION=26.5.4.21 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url= DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=amd64 WGET_RETRIES=5 WGET_RETRY_DELAY=1 /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-06-29 14:53:24 UTC (buildkit.dockerfile.v0)COPY docker_related_config.xml /etc/clickhouse-server/config.d/ # buildkit
2026-06-29 14:53:24 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh /entrypoint.sh # buildkit
2026-06-29 14:53:24 UTC (buildkit.dockerfile.v0)EXPOSE [8123/tcp 9000/tcp 9009/tcp]
2026-06-29 14:53:24 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/clickhouse]
2026-06-29 14:53:24 UTC (buildkit.dockerfile.v0)ENV CLICKHOUSE_CONFIG=/etc/clickhouse-server/config.xml
2026-06-29 14:53:24 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2026-06-29 14:55:38 UTC
236 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:99267111abcc4caf5e9b6f06fd8b9ca7ae7bff04ce06b24ca352c6007daaa73e - 11.17% (26.3 MB)
[#001] sha256:7349c090165b1afbfec1397d40928388d384604254af01910bf482708f1bb017 - 3.07% (7.23 MB)
[#002] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#003] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#004] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#005] sha256:6eb4541e5c3be799b6324dfb18aef578a115bccdc0c579554aaa415f29581264 - 85.42% (201 MB)
[#006] sha256:ce614f61b60fbac9820961aaa45332e531149207f5d98eaed8b4961e4c85c89b - 0.0% (189 Bytes)
[#007] sha256:c16d40e9fef7fbba95409674dcbd7093d80c5637cb54c24c840b5bad09aed90d - 0.35% (845 KB)
[#008] sha256:fae8e0e168f9cdd83614946acecf94ad1502ec9fab2e66e47d9313c2bf88b2f0 - 0.0% (116 Bytes)
[#009] sha256:bcc4b37855a9f1803f3dcb5ac406ceb1a12dd2fb8f3d45bd7e8f0e1dba7c91f0 - 0.0% (364 Bytes)
[#010] sha256:0602c26a1b45822876c44af1d263ddb3d5888dd2e933de56048c062a84a1c553 - 0.0% (3.55 KB)
/bin/sh -c #(nop) ARG RELEASE
2026-05-09 04:50:55 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2026-05-09 04:50:55 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2026-05-09 04:50:57 UTC/bin/sh -c #(nop) ADD file:a8d1411696ccaba92b4557162d508331f7cb7973e559947ad40c3f25d9402b10 in /
2026-05-09 04:50:57 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2026-05-20 15:14:11 UTC (buildkit.dockerfile.v0)ARG DEBIAN_FRONTEND=noninteractive
2026-05-20 15:14:11 UTC (buildkit.dockerfile.v0)ARG apt_archive=http://archive.ubuntu.com
2026-05-20 15:14:11 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 busybox ca-certificates locales tzdata wget && busybox --install -s && rm -rf /var/lib/apt/lists/* /var/cache/debconf /tmp/* # buildkit
2026-05-20 15:14:11 UTC (buildkit.dockerfile.v0)ARG REPO_CHANNEL=stable
2026-05-20 15:14:11 UTC (buildkit.dockerfile.v0)ARG REPOSITORY=deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg] https://packages.clickhouse.com/deb stable main
2026-05-20 15:14:11 UTC (buildkit.dockerfile.v0)ARG VERSION=26.5.4.21
2026-05-20 15:14:11 UTC (buildkit.dockerfile.v0)ARG PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static
2026-05-20 15:14:11 UTC (buildkit.dockerfile.v0)ARG deb_location_url=
2026-05-20 15:14:11 UTC (buildkit.dockerfile.v0)ARG DIRECT_DOWNLOAD_URLS=
2026-05-20 15:14:11 UTC (buildkit.dockerfile.v0)ARG single_binary_location_url=
2026-05-20 15:14:11 UTC (buildkit.dockerfile.v0)ARG TARGETARCH=arm64
2026-05-20 15:14:11 UTC (buildkit.dockerfile.v0)ARG WGET_RETRIES=5
2026-05-20 15:14:11 UTC (buildkit.dockerfile.v0)ARG WGET_RETRY_DELAY=1
2026-06-29 14:52:50 UTC (buildkit.dockerfile.v0)RUN |12 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg] https://packages.clickhouse.com/deb stable main VERSION=26.5.4.21 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url= DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=arm64 WGET_RETRIES=5 WGET_RETRY_DELAY=1 /bin/sh -c wget_with_retry() { local attempt=1; while [ "$attempt" -le "${WGET_RETRIES}" ]; do if wget --progress=bar:force:noscroll "$@"; then return 0; fi; echo "Attempt $attempt/${WGET_RETRIES} failed, retrying in ${WGET_RETRY_DELAY}s..."; sleep "${WGET_RETRY_DELAY}"; attempt=$((attempt + 1)); done; echo "ERROR: Failed to download after ${WGET_RETRIES} attempts"; return 1; } && 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_with_retry "$url" -P /tmp/clickhouse_debs || exit 1 ; done && dpkg -i /tmp/clickhouse_debs/*.deb && rm -rf /tmp/* ; fi # buildkit
2026-06-29 14:52:50 UTC (buildkit.dockerfile.v0)RUN |12 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg] https://packages.clickhouse.com/deb stable main VERSION=26.5.4.21 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url= DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=arm64 WGET_RETRIES=5 WGET_RETRY_DELAY=1 /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
2026-06-29 14:52:50 UTC (buildkit.dockerfile.v0)RUN |12 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg] https://packages.clickhouse.com/deb stable main VERSION=26.5.4.21 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url= DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=arm64 WGET_RETRIES=5 WGET_RETRY_DELAY=1 /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
2026-06-29 14:55:19 UTC (buildkit.dockerfile.v0)RUN |12 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg] https://packages.clickhouse.com/deb stable main VERSION=26.5.4.21 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url= DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=arm64 WGET_RETRIES=5 WGET_RETRY_DELAY=1 /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) && ( set +e; for KEYSERVER in hkp://keys.openpgp.org:80 hkp://pgp.mit.edu:80 hkp://keyserver.ubuntu.com:80; do GNUPGHOME="$GNUPGHOME" gpg --batch --no-default-keyring --keyring /usr/share/keyrings/clickhouse-keyring.gpg --keyserver "$KEYSERVER" --recv-keys 3a9ea1193a97b548be1457d48919f6bd2b48d754 && break; done || exit 1 ) && 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
2026-06-29 14:55:27 UTC (buildkit.dockerfile.v0)RUN |12 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg] https://packages.clickhouse.com/deb stable main VERSION=26.5.4.21 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url= DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=arm64 WGET_RETRIES=5 WGET_RETRY_DELAY=1 /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
2026-06-29 14:55:38 UTC (buildkit.dockerfile.v0)RUN |12 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg] https://packages.clickhouse.com/deb stable main VERSION=26.5.4.21 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url= DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=arm64 WGET_RETRIES=5 WGET_RETRY_DELAY=1 /bin/sh -c locale-gen en_US.UTF-8 # buildkit
2026-06-29 14:55:38 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8
2026-06-29 14:55:38 UTC (buildkit.dockerfile.v0)ENV TZ=UTC
2026-06-29 14:55:38 UTC (buildkit.dockerfile.v0)RUN |12 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg] https://packages.clickhouse.com/deb stable main VERSION=26.5.4.21 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url= DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=arm64 WGET_RETRIES=5 WGET_RETRY_DELAY=1 /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-06-29 14:55:38 UTC (buildkit.dockerfile.v0)COPY docker_related_config.xml /etc/clickhouse-server/config.d/ # buildkit
2026-06-29 14:55:38 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh /entrypoint.sh # buildkit
2026-06-29 14:55:38 UTC (buildkit.dockerfile.v0)EXPOSE [8123/tcp 9000/tcp 9009/tcp]
2026-06-29 14:55:38 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/clickhouse]
2026-06-29 14:55:38 UTC (buildkit.dockerfile.v0)ENV CLICKHOUSE_CONFIG=/etc/clickhouse-server/config.xml
2026-06-29 14:55:38 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.