2022-01-23 16:15:15 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:ea362f368469f909a95f9a6e54ebe0121ce0a8e3c30583dd9c5fb35b14544dec - 11.58% (27.2 MB)
[#001] sha256:faa07198f538e1dd4f40a662d6a9ee0f7a63c734a5cef1606c910c04eb4e9e7a - 0.0% (857 Bytes)
[#002] sha256:89942dd527780f44ba41194cc120fdcb5c131e6e5b115123a361cd551d48b327 - 88.07% (207 MB)
[#003] sha256:7203a6f4970faddfaa6a0ed73f62cd9a305cd9f928f841c49da8ccbb4deeaa3f - 0.35% (843 KB)
[#004] sha256:5ab7da4d1c5cb41136276e578fc58a01ab371f1422c55bad0bfb3f7dff15ab87 - 0.0% (149 Bytes)
[#005] sha256:4c85b35d7a21cda8b32fc02094c3f5684f725ee7d093678b178e473ecb90b8f5 - 0.0% (366 Bytes)
[#006] sha256:1a58778b5f6a1fe5e92511db23a0ea399bc4bd08c16b7534fcf8140a1f69fd3c - 0.0% (2.29 KB)
[#007] sha256:1a58778b5f6a1fe5e92511db23a0ea399bc4bd08c16b7534fcf8140a1f69fd3c - 0.0% (2.29 KB)
/bin/sh -c #(nop) ADD file:122ad323412c2e70b3138d8eb62648c4692989de91be1ffb6b4bf086c8311b62 in /
2022-01-07 02:25:30 UTC/bin/sh -c #(nop) CMD ["bash"]
2022-01-23 16:13:48 UTC/bin/sh -c #(nop) ARG repository=deb https://repo.clickhouse.com/deb/stable/ main/
2022-01-23 16:13:49 UTC/bin/sh -c #(nop) ARG version=21.11.11.*
2022-01-23 16:13:50 UTC/bin/sh -c #(nop) ARG gosu_ver=1.10
2022-01-23 16:13:51 UTC/bin/sh -c #(nop) ARG deb_location_url=
2022-01-23 16:13:52 UTC/bin/sh -c #(nop) ARG single_binary_location_url=
2022-01-23 16:13:53 UTC/bin/sh -c #(nop) ARG DEBIAN_FRONTEND=noninteractive
2022-01-23 16:13:54 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.11.* /bin/sh -c sed -i 's|http://archive|http://ru.archive|g' /etc/apt/sources.list
2022-01-23 16:14:54 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.11.* /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-23 16:15:00 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.11.* /bin/sh -c locale-gen en_US.UTF-8
2022-01-23 16:15:02 UTC/bin/sh -c #(nop) ENV LANG=en_US.UTF-8
2022-01-23 16:15:03 UTC/bin/sh -c #(nop) ENV LANGUAGE=en_US:en
2022-01-23 16:15:04 UTC/bin/sh -c #(nop) ENV LC_ALL=en_US.UTF-8
2022-01-23 16:15:05 UTC/bin/sh -c #(nop) ENV TZ=UTC
2022-01-23 16:15:07 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.11.* /bin/sh -c mkdir /docker-entrypoint-initdb.d
2022-01-23 16:15:07 UTC/bin/sh -c #(nop) COPY file:846f3bc1e8b5e554962e4d4740818850ea4e66cd11d5bdcf522e70044448dd48 in /etc/clickhouse-server/config.d/
2022-01-23 16:15:08 UTC/bin/sh -c #(nop) COPY file:cddd0c445dd8130c3354e447fd967e20229862d64c77219c0378be6bb3bb8e17 in /entrypoint.sh
2022-01-23 16:15:10 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.11.* /bin/sh -c chmod +x /entrypoint.sh
2022-01-23 16:15:11 UTC/bin/sh -c #(nop) EXPOSE 8123 9000 9009
2022-01-23 16:15:12 UTC/bin/sh -c #(nop) VOLUME [/var/lib/clickhouse]
2022-01-23 16:15:14 UTC/bin/sh -c #(nop) ENV CLICKHOUSE_CONFIG=/etc/clickhouse-server/config.xml
2022-01-23 16:15:15 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.