2021-12-22 11:06:33 UTC
235 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:7b1a6ab2e44dbac178598dabe7cff59bd67233dba0b27e4fbd1f9d4b3c877a54 - 11.61% (27.2 MB)
[#001] sha256:af7cf2ace31cb3a128c7f3249407ba833aee01703652fd87cc9037fbefa7e4d6 - 0.0% (856 Bytes)
[#002] sha256:bf79c5789f672c577d91e28602b0b41080cc8e2bc81f99a9cb31a44c266f5e1d - 88.04% (207 MB)
[#003] sha256:5d803f140ae3306878211ceb356fc71a31cce9e68262f6179f93b45b36fb41f1 - 0.35% (843 KB)
[#004] sha256:29448e5dea67d1650880dda9600279a9488b4ab73eaf12f47b0ef6010feb14f5 - 0.0% (149 Bytes)
[#005] sha256:b335c350d108296a4b48ea6a5bbc9229ac8865f04258465120baa237eadd5226 - 0.0% (365 Bytes)
[#006] sha256:0cb509bcb4c61d5253797b174172ea9fd8d9509c8e98a5e838c7d5c90b3cd377 - 0.0% (2.29 KB)
[#007] sha256:0cb509bcb4c61d5253797b174172ea9fd8d9509c8e98a5e838c7d5c90b3cd377 - 0.0% (2.29 KB)
/bin/sh -c #(nop) ADD file:5d68d27cc15a80653c93d3a0b262a28112d47a46326ff5fc2dfbf7fa3b9a0ce8 in /
2021-10-16 00:37:47 UTC/bin/sh -c #(nop) CMD ["bash"]
2021-12-22 11:05:13 UTC/bin/sh -c #(nop) ARG repository=deb https://repo.clickhouse.com/deb/stable/ main/
2021-12-22 11:05:14 UTC/bin/sh -c #(nop) ARG version=21.11.8.*
2021-12-22 11:05:15 UTC/bin/sh -c #(nop) ARG gosu_ver=1.10
2021-12-22 11:05:16 UTC/bin/sh -c #(nop) ARG deb_location_url=
2021-12-22 11:05:17 UTC/bin/sh -c #(nop) ARG single_binary_location_url=
2021-12-22 11:05:18 UTC/bin/sh -c #(nop) ARG DEBIAN_FRONTEND=noninteractive
2021-12-22 11:05:20 UTC|6 DEBIAN_FRONTEND=noninteractive deb_location_url= gosu_ver=1.10 repository=deb https://repo.clickhouse.com/deb/stable/ main/ single_binary_location_url= version=21.11.8.* /bin/sh -c sed -i 's|http://archive|http://ru.archive|g' /etc/apt/sources.list
2021-12-22 11:06:14 UTC|6 DEBIAN_FRONTEND=noninteractive deb_location_url= gosu_ver=1.10 repository=deb https://repo.clickhouse.com/deb/stable/ main/ single_binary_location_url= version=21.11.8.* /bin/sh -c 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 && mkdir -p /etc/apt/sources.list.d && apt-key adv --keyserver keyserver.ubuntu.com --recv E0C56BD4 && echo $repository > /etc/apt/sources.list.d/clickhouse.list && 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 && wget --progress=bar:force:noscroll "${deb_location_url}/clickhouse-common-static_${version}_amd64.deb" -P /tmp/clickhouse_debs && wget --progress=bar:force:noscroll "${deb_location_url}/clickhouse-client_${version}_all.deb" -P /tmp/clickhouse_debs && wget --progress=bar:force:noscroll "${deb_location_url}/clickhouse-server_${version}_all.deb" -P /tmp/clickhouse_debs && 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 echo "installing from repository: $repository" && apt-get update && apt-get --yes -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold" upgrade && apt-get install --allow-unauthenticated --yes --no-install-recommends clickhouse-common-static=$version clickhouse-client=$version clickhouse-server=$version ; fi && wget --progress=bar:force:noscroll "https://github.com/tianon/gosu/releases/download/$gosu_ver/gosu-$(dpkg --print-architecture)" -O /bin/gosu && chmod +x /bin/gosu && clickhouse-local -q 'SELECT * FROM system.build_options' && rm -rf /var/lib/apt/lists/* /var/cache/debconf /tmp/* && apt-get clean && 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
2021-12-22 11:06:21 UTC|6 DEBIAN_FRONTEND=noninteractive deb_location_url= gosu_ver=1.10 repository=deb https://repo.clickhouse.com/deb/stable/ main/ single_binary_location_url= version=21.11.8.* /bin/sh -c locale-gen en_US.UTF-8
2021-12-22 11:06:22 UTC/bin/sh -c #(nop) ENV LANG=en_US.UTF-8
2021-12-22 11:06:23 UTC/bin/sh -c #(nop) ENV LANGUAGE=en_US:en
2021-12-22 11:06:23 UTC/bin/sh -c #(nop) ENV LC_ALL=en_US.UTF-8
2021-12-22 11:06:24 UTC/bin/sh -c #(nop) ENV TZ=UTC
2021-12-22 11:06:26 UTC|6 DEBIAN_FRONTEND=noninteractive deb_location_url= gosu_ver=1.10 repository=deb https://repo.clickhouse.com/deb/stable/ main/ single_binary_location_url= version=21.11.8.* /bin/sh -c mkdir /docker-entrypoint-initdb.d
2021-12-22 11:06:27 UTC/bin/sh -c #(nop) COPY file:846f3bc1e8b5e554962e4d4740818850ea4e66cd11d5bdcf522e70044448dd48 in /etc/clickhouse-server/config.d/
2021-12-22 11:06:27 UTC/bin/sh -c #(nop) COPY file:cddd0c445dd8130c3354e447fd967e20229862d64c77219c0378be6bb3bb8e17 in /entrypoint.sh
2021-12-22 11:06:29 UTC|6 DEBIAN_FRONTEND=noninteractive deb_location_url= gosu_ver=1.10 repository=deb https://repo.clickhouse.com/deb/stable/ main/ single_binary_location_url= version=21.11.8.* /bin/sh -c chmod +x /entrypoint.sh
2021-12-22 11:06:30 UTC/bin/sh -c #(nop) EXPOSE 8123 9000 9009
2021-12-22 11:06:31 UTC/bin/sh -c #(nop) VOLUME [/var/lib/clickhouse]
2021-12-22 11:06:32 UTC/bin/sh -c #(nop) ENV CLICKHOUSE_CONFIG=/etc/clickhouse-server/config.xml
2021-12-22 11:06:33 UTC/bin/sh -c #(nop) 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.