2024-07-23 15:15:14 UTC
297 MB
/etc/clickhouse-server/config.xml
LANGen_US.UTF-8
LANGUAGEen_US:en
LC_ALLen_US.UTF-8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
TZUTC
[#000] sha256:9ea8908f47652b59b8055316d9c0e16b365e2b5cee15d3efcb79e2957e3e7cad - 8.84% (26.2 MB)
[#001] sha256:ec1ece6841ae9acdd8eb308ed4f21856dd6984b265ff609a446f1e0f9a1829f0 - 2.82% (8.38 MB)
[#002] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#003] sha256:0c66cd4100d9b4f2c67424243ea80334391793dcae937a1c5b14a9edb1ccddd5 - 88.05% (261 MB)
[#004] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#005] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#006] sha256:1cc36618705d42e3d02beb8969f9f08dba453e35d146a14d8823ec8fbde1f358 - 0.01% (22.2 KB)
[#007] sha256:6107d4b9ca1ed27514436c12e1cad003377b17f7dc9381b6da273fdc620b0d55 - 0.28% (843 KB)
[#008] sha256:ac6f684e1513ef1c80f92fe93ed69a392da58e5a07b8e75e47f686907e909d42 - 0.0% (116 Bytes)
[#009] sha256:3e324613f97806cb7d9d3fd5a767f9ff993af32a90e60cb12972dbcd03577ae9 - 0.0% (366 Bytes)
[#010] sha256:e5ea11bf755b4c8a40109ddf343b1f5e0dbd5c005da3ce7f83cd22cc11078c56 - 0.0% (3.02 KB)
/bin/sh -c #(nop) ARG RELEASE
2024-06-03 17:10:41 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-06-03 17:10:41 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-06-03 17:10:41 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=20.04
2024-06-03 17:10:43 UTC/bin/sh -c #(nop) ADD file:e7cff353f027ecf0a2cb1cdd51714de3b083a11a0d965f104489f9a7e6925056 in /
2024-06-03 17:10:43 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-07-18 18:43:22 UTC (buildkit.dockerfile.v0)ARG DEBIAN_FRONTEND=noninteractive
2024-07-18 18:43:22 UTC (buildkit.dockerfile.v0)ARG apt_archive=http://archive.ubuntu.com
2024-07-18 18:43:22 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-07-18 18:43:22 UTC (buildkit.dockerfile.v0)ARG REPO_CHANNEL=stable
2024-07-18 18:43:22 UTC (buildkit.dockerfile.v0)ARG REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/package_release
2024-07-18 18:43:22 UTC (buildkit.dockerfile.v0)ARG VERSION=23.8.16.33
2024-07-18 18:43:22 UTC (buildkit.dockerfile.v0)ARG PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static
2024-07-18 18:43:22 UTC (buildkit.dockerfile.v0)ARG deb_location_url=https://s3.amazonaws.com/clickhouse-builds/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/package_release
2024-07-18 18:43:22 UTC (buildkit.dockerfile.v0)ARG DIRECT_DOWNLOAD_URLS=
2024-07-18 18:43:22 UTC (buildkit.dockerfile.v0)ARG single_binary_location_url=
2024-07-18 18:43:22 UTC (buildkit.dockerfile.v0)ARG TARGETARCH=amd64
2024-07-23 15:14:43 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/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/package_release VERSION=23.8.16.33 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/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-07-23 15:15:11 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/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/package_release VERSION=23.8.16.33 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/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-07-23 15:15:11 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/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/package_release VERSION=23.8.16.33 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/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-07-23 15:15:11 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/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/package_release VERSION=23.8.16.33 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/package_release DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=amd64 /bin/sh -c if ! clickhouse local -q "SELECT ''" > /dev/null 2>&1; then apt-get update && apt-get install --yes --no-install-recommends apt-transport-https 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 --allow-unauthenticated --yes --no-install-recommends ${packages} || exit 1 && rm -rf /var/lib/apt/lists/* /var/cache/debconf /tmp/* && apt-get autoremove --purge -yq libksba8 && apt-get autoremove -yq ; fi # buildkit
2024-07-23 15:15: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/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/package_release VERSION=23.8.16.33 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/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-07-23 15:15:14 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/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/package_release VERSION=23.8.16.33 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/package_release DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=amd64 /bin/sh -c locale-gen en_US.UTF-8 # buildkit
2024-07-23 15:15:14 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8
2024-07-23 15:15:14 UTC (buildkit.dockerfile.v0)ENV LANGUAGE=en_US:en
2024-07-23 15:15:14 UTC (buildkit.dockerfile.v0)ENV LC_ALL=en_US.UTF-8
2024-07-23 15:15:14 UTC (buildkit.dockerfile.v0)ENV TZ=UTC
2024-07-23 15:15:14 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/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/package_release VERSION=23.8.16.33 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/package_release DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=amd64 /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-07-23 15:15:14 UTC (buildkit.dockerfile.v0)COPY docker_related_config.xml /etc/clickhouse-server/config.d/ # buildkit
2024-07-23 15:15:14 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh /entrypoint.sh # buildkit
2024-07-23 15:15:14 UTC (buildkit.dockerfile.v0)EXPOSE map[8123/tcp:{} 9000/tcp:{} 9009/tcp:{}]
2024-07-23 15:15:14 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/clickhouse]
2024-07-23 15:15:14 UTC (buildkit.dockerfile.v0)ENV CLICKHOUSE_CONFIG=/etc/clickhouse-server/config.xml
2024-07-23 15:15:14 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2024-07-23 15:17:11 UTC
289 MB
/etc/clickhouse-server/config.xml
LANGen_US.UTF-8
LANGUAGEen_US:en
LC_ALLen_US.UTF-8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
TZUTC
[#000] sha256:f02209be4ee528c246399de81af4552e52adb005a8a499815607b6b0d42746bf - 8.58% (24.8 MB)
[#001] sha256:2db268038693ae8e2031ad762379041e629d8f8ea24bc20ea80eb5b676d53588 - 2.86% (8.25 MB)
[#002] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#003] sha256:0ad14478eb0b2b465a32686865e1886c7ab887dfc91c34ec391642cdce22e71a - 88.27% (255 MB)
[#004] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#005] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#006] sha256:dbb8727cb56551347187342113cabfa1afda876cc07d19d68183e323669191d3 - 0.01% (22.2 KB)
[#007] sha256:a3ecda855ad677195a6b6c71c32954b258e318497a281a9a28dab6b9f790a1c5 - 0.29% (843 KB)
[#008] sha256:74c315fa99d1d3a766127edcd23393619d94ddd4a307debf4cfc5a1ff29f245b - 0.0% (116 Bytes)
[#009] sha256:624a72640cf29ca854040670d40327628e1f3299250cff5c4c3e1821ce6e62df - 0.0% (367 Bytes)
[#010] sha256:e5ea11bf755b4c8a40109ddf343b1f5e0dbd5c005da3ce7f83cd22cc11078c56 - 0.0% (3.02 KB)
/bin/sh -c #(nop) ARG RELEASE
2024-06-03 16:52:57 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-06-03 16:52:57 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-06-03 16:52:57 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=20.04
2024-06-03 16:52:59 UTC/bin/sh -c #(nop) ADD file:6d8cc056ee741f09a6c7d965d8e2027d80ed2eccbfb0312593ce52d9256db437 in /
2024-06-03 16:52:59 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-07-09 15:53:41 UTC (buildkit.dockerfile.v0)ARG DEBIAN_FRONTEND=noninteractive
2024-07-09 15:53:41 UTC (buildkit.dockerfile.v0)ARG apt_archive=http://archive.ubuntu.com
2024-07-09 15:53:41 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-07-09 15:53:41 UTC (buildkit.dockerfile.v0)ARG REPO_CHANNEL=stable
2024-07-09 15:53:41 UTC (buildkit.dockerfile.v0)ARG REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/package_aarch64
2024-07-09 15:53:41 UTC (buildkit.dockerfile.v0)ARG VERSION=23.8.16.33
2024-07-09 15:53:41 UTC (buildkit.dockerfile.v0)ARG PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static
2024-07-09 15:53:41 UTC (buildkit.dockerfile.v0)ARG deb_location_url=https://s3.amazonaws.com/clickhouse-builds/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/package_aarch64
2024-07-09 15:53:41 UTC (buildkit.dockerfile.v0)ARG DIRECT_DOWNLOAD_URLS=
2024-07-09 15:53:41 UTC (buildkit.dockerfile.v0)ARG single_binary_location_url=
2024-07-09 15:53:41 UTC (buildkit.dockerfile.v0)ARG TARGETARCH=arm64
2024-07-23 15:16:00 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/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/package_aarch64 VERSION=23.8.16.33 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/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-07-23 15:16:54 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/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/package_aarch64 VERSION=23.8.16.33 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/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-07-23 15:16:54 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/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/package_aarch64 VERSION=23.8.16.33 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/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-07-23 15:16:57 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/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/package_aarch64 VERSION=23.8.16.33 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/package_aarch64 DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=arm64 /bin/sh -c if ! clickhouse local -q "SELECT ''" > /dev/null 2>&1; then apt-get update && apt-get install --yes --no-install-recommends apt-transport-https 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 --allow-unauthenticated --yes --no-install-recommends ${packages} || exit 1 && rm -rf /var/lib/apt/lists/* /var/cache/debconf /tmp/* && apt-get autoremove --purge -yq libksba8 && apt-get autoremove -yq ; fi # buildkit
2024-07-23 15:17:00 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/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/package_aarch64 VERSION=23.8.16.33 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/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-07-23 15:17:11 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/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/package_aarch64 VERSION=23.8.16.33 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/package_aarch64 DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=arm64 /bin/sh -c locale-gen en_US.UTF-8 # buildkit
2024-07-23 15:17:11 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8
2024-07-23 15:17:11 UTC (buildkit.dockerfile.v0)ENV LANGUAGE=en_US:en
2024-07-23 15:17:11 UTC (buildkit.dockerfile.v0)ENV LC_ALL=en_US.UTF-8
2024-07-23 15:17:11 UTC (buildkit.dockerfile.v0)ENV TZ=UTC
2024-07-23 15:17:11 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/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/package_aarch64 VERSION=23.8.16.33 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/23.8/ae98c126de426ed85b6dd4be483506ceb0eeeff1/package_aarch64 DIRECT_DOWNLOAD_URLS= single_binary_location_url= TARGETARCH=arm64 /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-07-23 15:17:11 UTC (buildkit.dockerfile.v0)COPY docker_related_config.xml /etc/clickhouse-server/config.d/ # buildkit
2024-07-23 15:17:11 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh /entrypoint.sh # buildkit
2024-07-23 15:17:11 UTC (buildkit.dockerfile.v0)EXPOSE map[8123/tcp:{} 9000/tcp:{} 9009/tcp:{}]
2024-07-23 15:17:11 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/clickhouse]
2024-07-23 15:17:11 UTC (buildkit.dockerfile.v0)ENV CLICKHOUSE_CONFIG=/etc/clickhouse-server/config.xml
2024-07-23 15:17:11 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.