2022-01-26 08:08:20 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:ea362f368469f909a95f9a6e54ebe0121ce0a8e3c30583dd9c5fb35b14544dec - 12.25% (27.2 MB)
[#001] sha256:8fb7a4ee2e2d0d6f1956dbcb300c9409c305e9a9a473bf578ed3ac66f1dad721 - 0.0% (856 Bytes)
[#002] sha256:7c657d6445ce4d724ea2b7dfc5fcace4f168461d91c8103d2b2271cffd64fcc2 - 87.37% (194 MB)
[#003] sha256:2f89b51c30d478530285bf5f345d36ba56163a60c01682814a0f941fea705362 - 0.37% (843 KB)
[#004] sha256:5a2ab10820b11d09c74d90d6a69fe33e8c744dc494b69aa15e1bf5a15be14310 - 0.0% (149 Bytes)
[#005] sha256:8f26b90a7ed24019623e1f6ce07c981e19131bc5bc09afe1f19a247e1f0d9cb7 - 0.0% (369 Bytes)
[#006] sha256:7c36d5aa3189981e74d6e5eacf288c64c412912b11d8190a50363b1d5f7f9a87 - 0.0% (2.19 KB)
[#007] sha256:7c36d5aa3189981e74d6e5eacf288c64c412912b11d8190a50363b1d5f7f9a87 - 0.0% (2.19 KB)
/bin/sh -c #(nop) ADD file:122ad323412c2e70b3138d8eb62648c4692989de91be1ffb6b4bf086c8311b62 in /
2022-01-07 02:25:30 UTC/bin/sh -c #(nop) CMD ["bash"]
2022-01-26 08:06:55 UTC/bin/sh -c #(nop) ARG repository=deb https://repo.clickhouse.tech/deb/stable/ main/
2022-01-26 08:06:56 UTC/bin/sh -c #(nop) ARG version=21.8.14.*
2022-01-26 08:06:57 UTC/bin/sh -c #(nop) ARG gosu_ver=1.10
2022-01-26 08:06:58 UTC/bin/sh -c #(nop) ARG deb_location_url=
2022-01-26 08:06:59 UTC/bin/sh -c #(nop) ARG single_binary_location_url=
2022-01-26 08:07:00 UTC/bin/sh -c #(nop) ARG DEBIAN_FRONTEND=noninteractive
2022-01-26 08:07:02 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.14.* /bin/sh -c sed -i 's|http://archive|http://ru.archive|g' /etc/apt/sources.list
2022-01-26 08:07:59 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.14.* /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
2022-01-26 08:08:05 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.14.* /bin/sh -c locale-gen en_US.UTF-8
2022-01-26 08:08:06 UTC/bin/sh -c #(nop) ENV LANG=en_US.UTF-8
2022-01-26 08:08:08 UTC/bin/sh -c #(nop) ENV LANGUAGE=en_US:en
2022-01-26 08:08:09 UTC/bin/sh -c #(nop) ENV LC_ALL=en_US.UTF-8
2022-01-26 08:08:10 UTC/bin/sh -c #(nop) ENV TZ=UTC
2022-01-26 08:08:12 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.14.* /bin/sh -c mkdir /docker-entrypoint-initdb.d
2022-01-26 08:08:13 UTC/bin/sh -c #(nop) COPY file:83afed1b09644f3352549a695d600c2d7812f255caf954be0537b98690d113b9 in /etc/clickhouse-server/config.d/
2022-01-26 08:08:14 UTC/bin/sh -c #(nop) COPY file:c0c4011731f6d704047c65fddfc3b7247fe12180456aec2f7d343b68d0eb6ceb in /entrypoint.sh
2022-01-26 08:08:16 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.14.* /bin/sh -c chmod +x /entrypoint.sh
2022-01-26 08:08:17 UTC/bin/sh -c #(nop) EXPOSE 8123 9000 9009
2022-01-26 08:08:18 UTC/bin/sh -c #(nop) VOLUME [/var/lib/clickhouse]
2022-01-26 08:08:19 UTC/bin/sh -c #(nop) ENV CLICKHOUSE_CONFIG=/etc/clickhouse-server/config.xml
2022-01-26 08:08:20 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.