2022-08-10 16:56:25 UTC
300 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:3b65ec22a9e96affe680712973e88355927506aa3f792ff03330f3a3eb601a98 - 9.08% (27.2 MB)
[#001] sha256:50247ee32f41a0772e57685f2d408a0e1ca150fa26cdd3c6baf7a7bd0f81fbd4 - 0.0% (1.57 KB)
[#002] sha256:d3e6c41f004779c8b046416feea7ed81a0ed2bde367b6c137595887e7f6baf2a - 13.05% (39.2 MB)
[#003] sha256:a6a6a0a0c7a82e7239dc7463d62413e657210919f9cb365d03d48068da9c85b9 - 77.6% (233 MB)
[#004] sha256:be8c03006a663bdae2402b4ce2b4abc255f3e3317140daf211cf756042adf8f1 - 0.27% (843 KB)
[#005] sha256:159ef98e9d65ac7a3dd03f3bdb14f1c0f1476a408f6f82a2b0306a51da3bd2fb - 0.0% (122 Bytes)
[#006] sha256:9091375f4835fb0dc996f7474c51396e494a65deb1f665f510f6da7507d65f0c - 0.0% (371 Bytes)
[#007] sha256:995ed5a873cca8099c5f633388b1d22b9d6a934000f4f54723803ca6d5379caf - 0.0% (2.32 KB)
[#008] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
/bin/sh -c #(nop) ADD file:af4cf77e6818016b697a1491101b40c71d06529ced65f36107749f099d6d4bdc in /
2022-08-02 01:30:49 UTC/bin/sh -c #(nop) CMD ["bash"]
2022-08-10 16:36:11 UTC (buildkit.dockerfile.v0)ARG DEBIAN_FRONTEND=noninteractive
2022-08-10 16:36:11 UTC (buildkit.dockerfile.v0)COPY su-exec.c /su-exec.c # buildkit
2022-08-10 16:36:11 UTC (buildkit.dockerfile.v0)ARG apt_archive=http://archive.ubuntu.com
2022-08-10 16:56:05 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 install -y --no-install-recommends tcc libc-dev && tcc /su-exec.c -o /bin/su-exec && chown root:root /bin/su-exec && chmod 0755 /bin/su-exec && rm /su-exec.c && apt-get purge -y --auto-remove tcc libc-dev libc-dev-bin libc6-dev linux-libc-dev && apt-get clean # buildkit
2022-08-10 16:56:05 UTC (buildkit.dockerfile.v0)ARG REPO_CHANNEL=stable
2022-08-10 16:56:05 UTC (buildkit.dockerfile.v0)ARG REPOSITORY=deb https://packages.clickhouse.com/deb stable main
2022-08-10 16:56:05 UTC (buildkit.dockerfile.v0)ARG VERSION=22.1.1.*
2022-08-10 16:56:05 UTC (buildkit.dockerfile.v0)ARG PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static
2022-08-10 16:56:05 UTC (buildkit.dockerfile.v0)ARG deb_location_url=
2022-08-10 16:56:05 UTC (buildkit.dockerfile.v0)ARG single_binary_location_url=
2022-08-10 16:56:05 UTC (buildkit.dockerfile.v0)ARG TARGETARCH
2022-08-10 16:56:22 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.5/c893bba830e2a2641740267ee887d36bcd897689/package_release VERSION=22.5.4.19 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/22.5/c893bba830e2a2641740267ee887d36bcd897689/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
2022-08-10 16:56:24 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.5/c893bba830e2a2641740267ee887d36bcd897689/package_release VERSION=22.5.4.19 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/22.5/c893bba830e2a2641740267ee887d36bcd897689/package_release single_binary_location_url= TARGETARCH=amd64 /bin/sh -c locale-gen en_US.UTF-8 # buildkit
2022-08-10 16:56:24 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8
2022-08-10 16:56:24 UTC (buildkit.dockerfile.v0)ENV LANGUAGE=en_US:en
2022-08-10 16:56:24 UTC (buildkit.dockerfile.v0)ENV LC_ALL=en_US.UTF-8
2022-08-10 16:56:24 UTC (buildkit.dockerfile.v0)ENV TZ=UTC
2022-08-10 16:56:24 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.5/c893bba830e2a2641740267ee887d36bcd897689/package_release VERSION=22.5.4.19 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/22.5/c893bba830e2a2641740267ee887d36bcd897689/package_release single_binary_location_url= TARGETARCH=amd64 /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2022-08-10 16:56:25 UTC (buildkit.dockerfile.v0)COPY docker_related_config.xml /etc/clickhouse-server/config.d/ # buildkit
2022-08-10 16:56:25 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh /entrypoint.sh # buildkit
2022-08-10 16:56:25 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.5/c893bba830e2a2641740267ee887d36bcd897689/package_release VERSION=22.5.4.19 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/22.5/c893bba830e2a2641740267ee887d36bcd897689/package_release single_binary_location_url= TARGETARCH=amd64 /bin/sh -c chmod +x /entrypoint.sh # buildkit
2022-08-10 16:56:25 UTC (buildkit.dockerfile.v0)EXPOSE map[8123/tcp:{} 9000/tcp:{} 9009/tcp:{}]
2022-08-10 16:56:25 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/clickhouse]
2022-08-10 16:56:25 UTC (buildkit.dockerfile.v0)ENV CLICKHOUSE_CONFIG=/etc/clickhouse-server/config.xml
2022-08-10 16:56:25 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2022-08-10 17:00:03 UTC
223 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:a749a280e3e905de447c3d95a39e8aa1ede5835a6eadeb0c11596051592b675b - 11.63% (25.9 MB)
[#001] sha256:e1c090ac681f037d8e2bdeb310cfbf0acfce2c053b02eedcac5f94b20a0f9119 - 0.0% (1.57 KB)
[#002] sha256:0848a6850e9038ce8dc97731a7a2c537bb8581dff334ce548eef0859a6d1ee8c - 15.2% (33.9 MB)
[#003] sha256:e6243fbed0239ac5adba24f5050c529e0eb3f21bc8dd7bb1f7a5e77283aa0c5d - 72.8% (162 MB)
[#004] sha256:ec2a4e02c94c223cbb1fd11d4c50beec4d0f1fb42d6fb9e28242b27d3ab9da04 - 0.37% (843 KB)
[#005] sha256:9482543342557a871f4b3a62486538c81161ebbdea3bb24ea2f68d52fc298b1c - 0.0% (122 Bytes)
[#006] sha256:f0ddf0296801d9a85e376b0cfaf019fb74cd7cf262cb57a47b33e90c087b1891 - 0.0% (372 Bytes)
[#007] sha256:995ed5a873cca8099c5f633388b1d22b9d6a934000f4f54723803ca6d5379caf - 0.0% (2.32 KB)
[#008] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
/bin/sh -c #(nop) ADD file:151548d1bfac57d762f2c0b18b2378c363ffd1568da9fecd4be611db4832e8e2 in /
2022-08-02 01:18:51 UTC/bin/sh -c #(nop) CMD ["bash"]
2022-08-10 16:57:05 UTC (buildkit.dockerfile.v0)ARG DEBIAN_FRONTEND=noninteractive
2022-08-10 16:57:05 UTC (buildkit.dockerfile.v0)COPY su-exec.c /su-exec.c # buildkit
2022-08-10 16:57:05 UTC (buildkit.dockerfile.v0)ARG apt_archive=http://archive.ubuntu.com
2022-08-10 16:59: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 apt-transport-https ca-certificates dirmngr gnupg locales wget tzdata && apt-get install -y --no-install-recommends tcc libc-dev && tcc /su-exec.c -o /bin/su-exec && chown root:root /bin/su-exec && chmod 0755 /bin/su-exec && rm /su-exec.c && apt-get purge -y --auto-remove tcc libc-dev libc-dev-bin libc6-dev linux-libc-dev && apt-get clean # buildkit
2022-08-10 16:59:22 UTC (buildkit.dockerfile.v0)ARG REPO_CHANNEL=stable
2022-08-10 16:59:22 UTC (buildkit.dockerfile.v0)ARG REPOSITORY=deb https://packages.clickhouse.com/deb stable main
2022-08-10 16:59:22 UTC (buildkit.dockerfile.v0)ARG VERSION=22.1.1.*
2022-08-10 16:59:22 UTC (buildkit.dockerfile.v0)ARG PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static
2022-08-10 16:59:22 UTC (buildkit.dockerfile.v0)ARG deb_location_url=
2022-08-10 16:59:22 UTC (buildkit.dockerfile.v0)ARG single_binary_location_url=
2022-08-10 16:59:22 UTC (buildkit.dockerfile.v0)ARG TARGETARCH
2022-08-10 16:59:53 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.5/c893bba830e2a2641740267ee887d36bcd897689/package_aarch64 VERSION=22.5.4.19 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/22.5/c893bba830e2a2641740267ee887d36bcd897689/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
2022-08-10 17:00:02 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.5/c893bba830e2a2641740267ee887d36bcd897689/package_aarch64 VERSION=22.5.4.19 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/22.5/c893bba830e2a2641740267ee887d36bcd897689/package_aarch64 single_binary_location_url= TARGETARCH=arm64 /bin/sh -c locale-gen en_US.UTF-8 # buildkit
2022-08-10 17:00:02 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8
2022-08-10 17:00:02 UTC (buildkit.dockerfile.v0)ENV LANGUAGE=en_US:en
2022-08-10 17:00:02 UTC (buildkit.dockerfile.v0)ENV LC_ALL=en_US.UTF-8
2022-08-10 17:00:02 UTC (buildkit.dockerfile.v0)ENV TZ=UTC
2022-08-10 17:00:02 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.5/c893bba830e2a2641740267ee887d36bcd897689/package_aarch64 VERSION=22.5.4.19 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/22.5/c893bba830e2a2641740267ee887d36bcd897689/package_aarch64 single_binary_location_url= TARGETARCH=arm64 /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2022-08-10 17:00:02 UTC (buildkit.dockerfile.v0)COPY docker_related_config.xml /etc/clickhouse-server/config.d/ # buildkit
2022-08-10 17:00:03 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh /entrypoint.sh # buildkit
2022-08-10 17:00:03 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.5/c893bba830e2a2641740267ee887d36bcd897689/package_aarch64 VERSION=22.5.4.19 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/22.5/c893bba830e2a2641740267ee887d36bcd897689/package_aarch64 single_binary_location_url= TARGETARCH=arm64 /bin/sh -c chmod +x /entrypoint.sh # buildkit
2022-08-10 17:00:03 UTC (buildkit.dockerfile.v0)EXPOSE map[8123/tcp:{} 9000/tcp:{} 9009/tcp:{}]
2022-08-10 17:00:03 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/clickhouse]
2022-08-10 17:00:03 UTC (buildkit.dockerfile.v0)ENV CLICKHOUSE_CONFIG=/etc/clickhouse-server/config.xml
2022-08-10 17:00:03 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.