2023-01-09 16:03:42 UTC
306 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:846c0b181fff0c667d9444f8378e8fcfa13116da8d308bf21673f7e4bea8d580 - 8.92% (27.3 MB)
[#001] sha256:3036d48c9fafd7df98094cdfba87e8addf623d17b3296d3212e03d0bad4103f0 - 13.34% (40.8 MB)
[#002] sha256:2457a02f2712bf3ace467a010444b22543e5ac674b67e410e78f768e95c12a59 - 77.47% (237 MB)
[#003] sha256:3027422b0a3e9f62c6e6cef532d05132782a192c53af2bd6407a85fcab6bba47 - 0.27% (843 KB)
[#004] sha256:e9467ba80ab94ab47a667772fdb785ca362bd8cffe2ef3b5b9d4941cec5da652 - 0.0% (122 Bytes)
[#005] sha256:890979eed8c1f07e9a69026bc33754c1707b34b86fcf716640fe0f7dbeafec22 - 0.0% (374 Bytes)
[#006] sha256:a2ae279b3b266413276a9bbf6d9c2f755a17560e8be428c59c51f7f16088ab94 - 0.0% (2.45 KB)
[#007] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
/bin/sh -c #(nop) ADD file:9d282119af0c42bc823c95b4192a3350cf2cad670622017356dd2e637762e425 in /
2022-12-09 01:20:21 UTC/bin/sh -c #(nop) CMD ["bash"]
2023-01-09 16:03:20 UTC (buildkit.dockerfile.v0)ARG DEBIAN_FRONTEND=noninteractive
2023-01-09 16:03:20 UTC (buildkit.dockerfile.v0)ARG apt_archive=http://archive.ubuntu.com
2023-01-09 16:03:20 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 apt-transport-https ca-certificates dirmngr gnupg locales wget tzdata && apt-get clean # buildkit
2023-01-09 16:03:20 UTC (buildkit.dockerfile.v0)ARG REPO_CHANNEL=stable
2023-01-09 16:03:20 UTC (buildkit.dockerfile.v0)ARG REPOSITORY=deb https://packages.clickhouse.com/deb stable main
2023-01-09 16:03:20 UTC (buildkit.dockerfile.v0)ARG VERSION=22.9.3.18
2023-01-09 16:03:20 UTC (buildkit.dockerfile.v0)ARG PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static
2023-01-09 16:03:20 UTC (buildkit.dockerfile.v0)ARG deb_location_url=
2023-01-09 16:03:20 UTC (buildkit.dockerfile.v0)ARG single_binary_location_url=
2023-01-09 16:03:20 UTC (buildkit.dockerfile.v0)ARG TARGETARCH
2023-01-09 16:03:40 UTC (buildkit.dockerfile.v0)RUN |9 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/22.10/dbc7984dc3ba8fdfafe3ee91245d8b99c1803c5d/package_release VERSION=22.10.5.54 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/22.10/dbc7984dc3ba8fdfafe3ee91245d8b99c1803c5d/package_release 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 ; elif [ -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" ; else mkdir -p /etc/apt/sources.list.d && apt-key adv --keyserver keyserver.ubuntu.com --recv 8919F6BD2B48D754 && echo ${REPOSITORY} > /etc/apt/sources.list.d/clickhouse.list && echo "installing from repository: ${REPOSITORY}" && apt-get update && apt-get --yes -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold" upgrade && for package in ${PACKAGES}; do packages="${packages} ${package}=${VERSION}" ; done && apt-get install --allow-unauthenticated --yes --no-install-recommends ${packages} || exit 1 ; fi && clickhouse-local -q 'SELECT * FROM system.build_options' && rm -rf /var/lib/apt/lists/* /var/cache/debconf /tmp/* && 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
2023-01-09 16:03:42 UTC (buildkit.dockerfile.v0)RUN |9 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/22.10/dbc7984dc3ba8fdfafe3ee91245d8b99c1803c5d/package_release VERSION=22.10.5.54 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/22.10/dbc7984dc3ba8fdfafe3ee91245d8b99c1803c5d/package_release single_binary_location_url= TARGETARCH=amd64 /bin/sh -c locale-gen en_US.UTF-8 # buildkit
2023-01-09 16:03:42 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8
2023-01-09 16:03:42 UTC (buildkit.dockerfile.v0)ENV LANGUAGE=en_US:en
2023-01-09 16:03:42 UTC (buildkit.dockerfile.v0)ENV LC_ALL=en_US.UTF-8
2023-01-09 16:03:42 UTC (buildkit.dockerfile.v0)ENV TZ=UTC
2023-01-09 16:03:42 UTC (buildkit.dockerfile.v0)RUN |9 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/22.10/dbc7984dc3ba8fdfafe3ee91245d8b99c1803c5d/package_release VERSION=22.10.5.54 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/22.10/dbc7984dc3ba8fdfafe3ee91245d8b99c1803c5d/package_release single_binary_location_url= TARGETARCH=amd64 /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2023-01-09 16:03:42 UTC (buildkit.dockerfile.v0)COPY docker_related_config.xml /etc/clickhouse-server/config.d/ # buildkit
2023-01-09 16:03:42 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh /entrypoint.sh # buildkit
2023-01-09 16:03:42 UTC (buildkit.dockerfile.v0)RUN |9 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/22.10/dbc7984dc3ba8fdfafe3ee91245d8b99c1803c5d/package_release VERSION=22.10.5.54 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/22.10/dbc7984dc3ba8fdfafe3ee91245d8b99c1803c5d/package_release single_binary_location_url= TARGETARCH=amd64 /bin/sh -c chmod +x /entrypoint.sh # buildkit
2023-01-09 16:03:42 UTC (buildkit.dockerfile.v0)EXPOSE map[8123/tcp:{} 9000/tcp:{} 9009/tcp:{}]
2023-01-09 16:03:42 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/clickhouse]
2023-01-09 16:03:42 UTC (buildkit.dockerfile.v0)ENV CLICKHOUSE_CONFIG=/etc/clickhouse-server/config.xml
2023-01-09 16:03:42 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2023-01-09 16:07:09 UTC
227 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:f04b4bbe15805316c8fda79beedd3b77e6b1ffcd0acf81226c3089e63f6bffeb - 11.42% (25.9 MB)
[#001] sha256:37743adbfaa0b372b37651bbd7ca2043fb8b769254b2b34408e43b5868121a2b - 15.23% (34.6 MB)
[#002] sha256:ee1ceae7d34f4c3cd62f5d7edea6ab43b16c930cf5d2ed5876eb382e42c4dcfa - 72.98% (166 MB)
[#003] sha256:0bc24902f7425dd3726a1456b1bfee4df6a3e4ffb9f63befb1f3b6288d3b3673 - 0.36% (843 KB)
[#004] sha256:c356bbd236da67548bd961ffe910c3a47d43b43037e51c102f7b259a9a98ab1e - 0.0% (122 Bytes)
[#005] sha256:8a8287aa20b4186afadab88cce47a6b202ed3ba4120a353ef464673f9e988536 - 0.0% (370 Bytes)
[#006] sha256:a2ae279b3b266413276a9bbf6d9c2f755a17560e8be428c59c51f7f16088ab94 - 0.0% (2.45 KB)
[#007] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
/bin/sh -c #(nop) ADD file:8cba976cb6ea226de769a768ee274e7679d34f923c93392f340680dc6696232e in /
2022-12-09 01:46:50 UTC/bin/sh -c #(nop) CMD ["bash"]
2023-01-09 16:06:26 UTC (buildkit.dockerfile.v0)ARG DEBIAN_FRONTEND=noninteractive
2023-01-09 16:06:26 UTC (buildkit.dockerfile.v0)ARG apt_archive=http://archive.ubuntu.com
2023-01-09 16:06:26 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 apt-transport-https ca-certificates dirmngr gnupg locales wget tzdata && apt-get clean # buildkit
2023-01-09 16:06:26 UTC (buildkit.dockerfile.v0)ARG REPO_CHANNEL=stable
2023-01-09 16:06:26 UTC (buildkit.dockerfile.v0)ARG REPOSITORY=deb https://packages.clickhouse.com/deb stable main
2023-01-09 16:06:26 UTC (buildkit.dockerfile.v0)ARG VERSION=22.9.3.18
2023-01-09 16:06:26 UTC (buildkit.dockerfile.v0)ARG PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static
2023-01-09 16:06:26 UTC (buildkit.dockerfile.v0)ARG deb_location_url=
2023-01-09 16:06:26 UTC (buildkit.dockerfile.v0)ARG single_binary_location_url=
2023-01-09 16:06:26 UTC (buildkit.dockerfile.v0)ARG TARGETARCH
2023-01-09 16:06:59 UTC (buildkit.dockerfile.v0)RUN |9 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/22.10/dbc7984dc3ba8fdfafe3ee91245d8b99c1803c5d/package_aarch64 VERSION=22.10.5.54 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/22.10/dbc7984dc3ba8fdfafe3ee91245d8b99c1803c5d/package_aarch64 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 ; elif [ -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" ; else mkdir -p /etc/apt/sources.list.d && apt-key adv --keyserver keyserver.ubuntu.com --recv 8919F6BD2B48D754 && echo ${REPOSITORY} > /etc/apt/sources.list.d/clickhouse.list && echo "installing from repository: ${REPOSITORY}" && apt-get update && apt-get --yes -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold" upgrade && for package in ${PACKAGES}; do packages="${packages} ${package}=${VERSION}" ; done && apt-get install --allow-unauthenticated --yes --no-install-recommends ${packages} || exit 1 ; fi && clickhouse-local -q 'SELECT * FROM system.build_options' && rm -rf /var/lib/apt/lists/* /var/cache/debconf /tmp/* && 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
2023-01-09 16:07:08 UTC (buildkit.dockerfile.v0)RUN |9 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/22.10/dbc7984dc3ba8fdfafe3ee91245d8b99c1803c5d/package_aarch64 VERSION=22.10.5.54 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/22.10/dbc7984dc3ba8fdfafe3ee91245d8b99c1803c5d/package_aarch64 single_binary_location_url= TARGETARCH=arm64 /bin/sh -c locale-gen en_US.UTF-8 # buildkit
2023-01-09 16:07:08 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8
2023-01-09 16:07:08 UTC (buildkit.dockerfile.v0)ENV LANGUAGE=en_US:en
2023-01-09 16:07:08 UTC (buildkit.dockerfile.v0)ENV LC_ALL=en_US.UTF-8
2023-01-09 16:07:08 UTC (buildkit.dockerfile.v0)ENV TZ=UTC
2023-01-09 16:07:08 UTC (buildkit.dockerfile.v0)RUN |9 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/22.10/dbc7984dc3ba8fdfafe3ee91245d8b99c1803c5d/package_aarch64 VERSION=22.10.5.54 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/22.10/dbc7984dc3ba8fdfafe3ee91245d8b99c1803c5d/package_aarch64 single_binary_location_url= TARGETARCH=arm64 /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2023-01-09 16:07:08 UTC (buildkit.dockerfile.v0)COPY docker_related_config.xml /etc/clickhouse-server/config.d/ # buildkit
2023-01-09 16:07:09 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh /entrypoint.sh # buildkit
2023-01-09 16:07:09 UTC (buildkit.dockerfile.v0)RUN |9 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/22.10/dbc7984dc3ba8fdfafe3ee91245d8b99c1803c5d/package_aarch64 VERSION=22.10.5.54 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/22.10/dbc7984dc3ba8fdfafe3ee91245d8b99c1803c5d/package_aarch64 single_binary_location_url= TARGETARCH=arm64 /bin/sh -c chmod +x /entrypoint.sh # buildkit
2023-01-09 16:07:09 UTC (buildkit.dockerfile.v0)EXPOSE map[8123/tcp:{} 9000/tcp:{} 9009/tcp:{}]
2023-01-09 16:07:09 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/clickhouse]
2023-01-09 16:07:09 UTC (buildkit.dockerfile.v0)ENV CLICKHOUSE_CONFIG=/etc/clickhouse-server/config.xml
2023-01-09 16:07:09 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.