2023-06-29 21:07:23 UTC
253 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:31e352740f534f9ad170f75378a84fe453d6156e40700b882d737a8f4a6988a3 - 1.28% (3.24 MB)
[#001] sha256:6b40a3b1a54384e7fbc0374d9d932afcee2bab63e7e567c0058733a5332de075 - 0.76% (1.93 MB)
[#002] sha256:be85bf4033b3de1266635a6d0102b425f323070aeae43fafae48f8682f90870f - 0.0% (384 Bytes)
[#003] sha256:ad4bce949dc962f9510727a6c24e6a44f45829ac9ada1bdf4b8268fed6cfa1ed - 0.0% (346 Bytes)
[#004] sha256:bfa6a3086f4197a6a28e7fa26aea276deddf342e787f2fe4ebe55b597c8327bb - 0.0% (2.69 KB)
[#005] sha256:0500b32bb7a69382a111b8376034bd1d5cf5b39c4cd4986eb5f74df115cd5f5e - 0.0% (151 Bytes)
[#006] sha256:33acf6ce9e20e9fea9cd22d79643fa5e5c479e49439b15d2f2ce90a65354c23c - 97.95% (248 MB)
/bin/sh -c #(nop) ADD file:1da756d12551a0e3e793e02ef87432d69d4968937bd11bed0af215db19dd94cd in /
2023-06-14 20:41:59 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2023-06-29 21:06:57 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 TZ=UTC CLICKHOUSE_CONFIG=/etc/clickhouse-server/config.xml
2023-06-29 21:06:57 UTC (buildkit.dockerfile.v0)COPY /lib/linux-gnu/libc.so.6 /lib/linux-gnu/libdl.so.2 /lib/linux-gnu/libm.so.6 /lib/linux-gnu/libpthread.so.0 /lib/linux-gnu/librt.so.1 /lib/linux-gnu/libnss_dns.so.2 /lib/linux-gnu/libnss_files.so.2 /lib/linux-gnu/libresolv.so.2 /lib/linux-gnu/ld-2.31.so /lib/ # buildkit
2023-06-29 21:06:57 UTC (buildkit.dockerfile.v0)COPY /etc/nsswitch.conf /etc/ # buildkit
2023-06-29 21:06:57 UTC (buildkit.dockerfile.v0)COPY docker_related_config.xml /etc/clickhouse-server/config.d/ # buildkit
2023-06-29 21:06:57 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh /entrypoint.sh # buildkit
2023-06-29 21:06:57 UTC (buildkit.dockerfile.v0)ARG TARGETARCH
2023-06-29 21:06:57 UTC (buildkit.dockerfile.v0)RUN |1 TARGETARCH=amd64 /bin/sh -c arch=${TARGETARCH:-amd64} && case $arch in amd64) mkdir -p /lib64 && ln -sf /lib/ld-2.31.so /lib64/ld-linux-x86-64.so.2 ;; arm64) ln -sf /lib/ld-2.31.so /lib/ld-linux-aarch64.so.1 ;; esac # buildkit
2023-06-29 21:06:57 UTC (buildkit.dockerfile.v0)ARG REPO_CHANNEL=stable
2023-06-29 21:06:57 UTC (buildkit.dockerfile.v0)ARG REPOSITORY=https://packages.clickhouse.com/tgz/stable
2023-06-29 21:06:57 UTC (buildkit.dockerfile.v0)ARG VERSION=23.2.4.12
2023-06-29 21:06:57 UTC (buildkit.dockerfile.v0)ARG PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static
2023-06-29 21:07:23 UTC (buildkit.dockerfile.v0)RUN |5 TARGETARCH=amd64 REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/23.3/bc683c11c923c8861510410d5b8fb16933db70d9/package_release VERSION=23.3.7.5 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static /bin/sh -c arch=${TARGETARCH:-amd64} && for package in ${PACKAGES}; do { { echo "Get ${REPOSITORY}/${package}-${VERSION}-${arch}.tgz" && wget -c -q "${REPOSITORY}/${package}-${VERSION}-${arch}.tgz" -O "/tmp/${package}-${VERSION}-${arch}.tgz" && tar xvzf "/tmp/${package}-${VERSION}-${arch}.tgz" --strip-components=1 -C / ; } || { echo "Fallback to ${REPOSITORY}/${package}-${VERSION}.tgz" && wget -c -q "${REPOSITORY}/${package}-${VERSION}.tgz" -O "/tmp/${package}-${VERSION}.tgz" && tar xvzf "/tmp/${package}-${VERSION}.tgz" --strip-components=2 -C / ; } ; } || exit 1 ; done && rm /tmp/*.tgz /install -r && addgroup -S -g 101 clickhouse && adduser -S -h /var/lib/clickhouse -s /bin/bash -G clickhouse -g "ClickHouse server" -u 101 clickhouse && mkdir -p /var/lib/clickhouse /var/log/clickhouse-server /etc/clickhouse-server/config.d /etc/clickhouse-server/users.d /etc/clickhouse-client /docker-entrypoint-initdb.d && chown clickhouse:clickhouse /var/lib/clickhouse && chown root:clickhouse /var/log/clickhouse-server && chmod +x /entrypoint.sh && apk add --no-cache bash tzdata && cp /usr/share/zoneinfo/UTC /etc/localtime && echo "UTC" > /etc/timezone && chmod ugo+Xrw -R /var/lib/clickhouse /var/log/clickhouse-server /etc/clickhouse-server /etc/clickhouse-client # buildkit
2023-06-29 21:07:23 UTC (buildkit.dockerfile.v0)EXPOSE map[8123/tcp:{} 9000/tcp:{} 9009/tcp:{}]
2023-06-29 21:07:23 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/clickhouse /var/log/clickhouse-server]
2023-06-29 21:07:23 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2023-06-29 21:08:55 UTC
179 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:8c6d1654570f041603f4cef49c320c8f6f3e401324913009d92a19132cbf1ac0 - 1.77% (3.18 MB)
[#001] sha256:b4b831dc05d91d0c77f30fae35669e8097e1330b7dcf92c9f2b4c5fc7a5246f2 - 0.71% (1.27 MB)
[#002] sha256:b261c9d26f6ed6d1c9c8f45c40ed9e0fdcb0410f552bdb3bec15ec76fa5bd9f1 - 0.0% (384 Bytes)
[#003] sha256:e9da673827dfbca2b344a7b898fc34c3dc50d0a70d3ac06f1fe4ecb3fa2ae43e - 0.0% (346 Bytes)
[#004] sha256:bfa6a3086f4197a6a28e7fa26aea276deddf342e787f2fe4ebe55b597c8327bb - 0.0% (2.69 KB)
[#005] sha256:d6d2a4418ba04a2f82e4512b4c6d93adcedc1967270dc121b65ce3dfa2c83fdf - 0.0% (149 Bytes)
[#006] sha256:caf07014c3d92f1d536d68e88e91fc3ea8ada8a425d86e9f16b4a3fc0162291a - 97.51% (175 MB)
/bin/sh -c #(nop) ADD file:289c2fac17119508ced527225d445747cd177111b4a0018a6b04948ecb3b5e29 in /
2023-06-14 20:48:58 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2023-06-29 21:08:06 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 TZ=UTC CLICKHOUSE_CONFIG=/etc/clickhouse-server/config.xml
2023-06-29 21:08:06 UTC (buildkit.dockerfile.v0)COPY /lib/linux-gnu/libc.so.6 /lib/linux-gnu/libdl.so.2 /lib/linux-gnu/libm.so.6 /lib/linux-gnu/libpthread.so.0 /lib/linux-gnu/librt.so.1 /lib/linux-gnu/libnss_dns.so.2 /lib/linux-gnu/libnss_files.so.2 /lib/linux-gnu/libresolv.so.2 /lib/linux-gnu/ld-2.31.so /lib/ # buildkit
2023-06-29 21:08:06 UTC (buildkit.dockerfile.v0)COPY /etc/nsswitch.conf /etc/ # buildkit
2023-06-29 21:08:06 UTC (buildkit.dockerfile.v0)COPY docker_related_config.xml /etc/clickhouse-server/config.d/ # buildkit
2023-06-29 21:08:06 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh /entrypoint.sh # buildkit
2023-06-29 21:08:06 UTC (buildkit.dockerfile.v0)ARG TARGETARCH
2023-06-29 21:08:06 UTC (buildkit.dockerfile.v0)RUN |1 TARGETARCH=arm64 /bin/sh -c arch=${TARGETARCH:-amd64} && case $arch in amd64) mkdir -p /lib64 && ln -sf /lib/ld-2.31.so /lib64/ld-linux-x86-64.so.2 ;; arm64) ln -sf /lib/ld-2.31.so /lib/ld-linux-aarch64.so.1 ;; esac # buildkit
2023-06-29 21:08:06 UTC (buildkit.dockerfile.v0)ARG REPO_CHANNEL=stable
2023-06-29 21:08:06 UTC (buildkit.dockerfile.v0)ARG REPOSITORY=https://packages.clickhouse.com/tgz/stable
2023-06-29 21:08:06 UTC (buildkit.dockerfile.v0)ARG VERSION=23.2.4.12
2023-06-29 21:08:06 UTC (buildkit.dockerfile.v0)ARG PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static
2023-06-29 21:08:55 UTC (buildkit.dockerfile.v0)RUN |5 TARGETARCH=arm64 REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/23.3/bc683c11c923c8861510410d5b8fb16933db70d9/package_aarch64 VERSION=23.3.7.5 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static /bin/sh -c arch=${TARGETARCH:-amd64} && for package in ${PACKAGES}; do { { echo "Get ${REPOSITORY}/${package}-${VERSION}-${arch}.tgz" && wget -c -q "${REPOSITORY}/${package}-${VERSION}-${arch}.tgz" -O "/tmp/${package}-${VERSION}-${arch}.tgz" && tar xvzf "/tmp/${package}-${VERSION}-${arch}.tgz" --strip-components=1 -C / ; } || { echo "Fallback to ${REPOSITORY}/${package}-${VERSION}.tgz" && wget -c -q "${REPOSITORY}/${package}-${VERSION}.tgz" -O "/tmp/${package}-${VERSION}.tgz" && tar xvzf "/tmp/${package}-${VERSION}.tgz" --strip-components=2 -C / ; } ; } || exit 1 ; done && rm /tmp/*.tgz /install -r && addgroup -S -g 101 clickhouse && adduser -S -h /var/lib/clickhouse -s /bin/bash -G clickhouse -g "ClickHouse server" -u 101 clickhouse && mkdir -p /var/lib/clickhouse /var/log/clickhouse-server /etc/clickhouse-server/config.d /etc/clickhouse-server/users.d /etc/clickhouse-client /docker-entrypoint-initdb.d && chown clickhouse:clickhouse /var/lib/clickhouse && chown root:clickhouse /var/log/clickhouse-server && chmod +x /entrypoint.sh && apk add --no-cache bash tzdata && cp /usr/share/zoneinfo/UTC /etc/localtime && echo "UTC" > /etc/timezone && chmod ugo+Xrw -R /var/lib/clickhouse /var/log/clickhouse-server /etc/clickhouse-server /etc/clickhouse-client # buildkit
2023-06-29 21:08:55 UTC (buildkit.dockerfile.v0)EXPOSE map[8123/tcp:{} 9000/tcp:{} 9009/tcp:{}]
2023-06-29 21:08:55 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/clickhouse /var/log/clickhouse-server]
2023-06-29 21:08:55 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.