2021-10-21 17:01:41 UTC
222 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 - 12.29% (27.2 MB)
[#001] sha256:f810107593af0063fc0ac668704a97e4cb61ec39cfa2bfb7e16fbc0b2be0d213 - 0.0% (856 Bytes)
[#002] sha256:d450e04af6194c9df17225c6b846e82416244c856a65071c28878f171b713f82 - 87.33% (194 MB)
[#003] sha256:a88817fe8488bc462ce826fa2a1542bda1d3ae3f9042902f58731b67fc936915 - 0.37% (843 KB)
[#004] sha256:e52a25f78ee3b5ad5fd7a66bb6e0eba4815c0b841b2c2c848478901bc5405cf4 - 0.0% (147 Bytes)
[#005] sha256:90b4f52bcad2b1ce2f76e9e82b0f0aada011c48a6356cd0dc3a7eb99e6fc1c38 - 0.0% (368 Bytes)
[#006] sha256:6644a5ef98f0a0e1229da28fa8044b8eb34e145518393b643eac8a457a84fb93 - 0.0% (2.19 KB)
[#007] sha256:6644a5ef98f0a0e1229da28fa8044b8eb34e145518393b643eac8a457a84fb93 - 0.0% (2.19 KB)
/bin/sh -c #(nop) ADD file:5d68d27cc15a80653c93d3a0b262a28112d47a46326ff5fc2dfbf7fa3b9a0ce8 in /
2021-10-16 00:37:47 UTC/bin/sh -c #(nop) CMD ["bash"]
2021-10-21 17:00:23 UTC/bin/sh -c #(nop) ARG repository=deb https://repo.clickhouse.tech/deb/stable/ main/
2021-10-21 17:00:24 UTC/bin/sh -c #(nop) ARG version=21.8.10.*
2021-10-21 17:00:25 UTC/bin/sh -c #(nop) ARG gosu_ver=1.10
2021-10-21 17:00:26 UTC/bin/sh -c #(nop) ARG deb_location_url=
2021-10-21 17:00:27 UTC/bin/sh -c #(nop) ARG single_binary_location_url=
2021-10-21 17:00:28 UTC/bin/sh -c #(nop) ARG DEBIAN_FRONTEND=noninteractive
2021-10-21 17:00:29 UTC|6 DEBIAN_FRONTEND=noninteractive deb_location_url= gosu_ver=1.10 repository=deb https://repo.clickhouse.tech/deb/stable/ main/ single_binary_location_url= version=21.8.10.* /bin/sh -c sed -i 's|http://archive|http://ru.archive|g' /etc/apt/sources.list
2021-10-21 17:01:23 UTC|6 DEBIAN_FRONTEND=noninteractive deb_location_url= gosu_ver=1.10 repository=deb https://repo.clickhouse.tech/deb/stable/ main/ single_binary_location_url= version=21.8.10.* /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-10-21 17:01:28 UTC|6 DEBIAN_FRONTEND=noninteractive deb_location_url= gosu_ver=1.10 repository=deb https://repo.clickhouse.tech/deb/stable/ main/ single_binary_location_url= version=21.8.10.* /bin/sh -c locale-gen en_US.UTF-8
2021-10-21 17:01:29 UTC/bin/sh -c #(nop) ENV LANG=en_US.UTF-8
2021-10-21 17:01:30 UTC/bin/sh -c #(nop) ENV LANGUAGE=en_US:en
2021-10-21 17:01:31 UTC/bin/sh -c #(nop) ENV LC_ALL=en_US.UTF-8
2021-10-21 17:01:32 UTC/bin/sh -c #(nop) ENV TZ=UTC
2021-10-21 17:01:34 UTC|6 DEBIAN_FRONTEND=noninteractive deb_location_url= gosu_ver=1.10 repository=deb https://repo.clickhouse.tech/deb/stable/ main/ single_binary_location_url= version=21.8.10.* /bin/sh -c mkdir /docker-entrypoint-initdb.d
2021-10-21 17:01:35 UTC/bin/sh -c #(nop) COPY file:83afed1b09644f3352549a695d600c2d7812f255caf954be0537b98690d113b9 in /etc/clickhouse-server/config.d/
2021-10-21 17:01:35 UTC/bin/sh -c #(nop) COPY file:c0c4011731f6d704047c65fddfc3b7247fe12180456aec2f7d343b68d0eb6ceb in /entrypoint.sh
2021-10-21 17:01:37 UTC|6 DEBIAN_FRONTEND=noninteractive deb_location_url= gosu_ver=1.10 repository=deb https://repo.clickhouse.tech/deb/stable/ main/ single_binary_location_url= version=21.8.10.* /bin/sh -c chmod +x /entrypoint.sh
2021-10-21 17:01:38 UTC/bin/sh -c #(nop) EXPOSE 8123 9000 9009
2021-10-21 17:01:39 UTC/bin/sh -c #(nop) VOLUME [/var/lib/clickhouse]
2021-10-21 17:01:40 UTC/bin/sh -c #(nop) ENV CLICKHOUSE_CONFIG=/etc/clickhouse-server/config.xml
2021-10-21 17:01:41 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.