#0 building with "affectionate_gould" instance using docker-container driver #1 [internal] load build definition from Dockerfile.ubuntu #1 transferring dockerfile: 5.76kB done #1 DONE 0.0s #2 [internal] load metadata for docker.io/library/ubuntu:22.04 #2 DONE 0.2s #3 [internal] load .dockerignore #3 transferring context: 2B done #3 DONE 0.0s #4 [internal] load build context #4 transferring context: 80B done #4 DONE 0.0s #5 [ 1/10] FROM docker.io/library/ubuntu:22.04@sha256:076e7bf82319619f28dd0aa9c02ab34b055ad37100395b4f49a2ffba04fb5e11 #5 resolve docker.io/library/ubuntu:22.04@sha256:076e7bf82319619f28dd0aa9c02ab34b055ad37100395b4f49a2ffba04fb5e11 0.0s done #5 DONE 0.0s #6 [ 5/10] RUN if ! clickhouse local -q "SELECT ''" > /dev/null 2>&1; then apt-get update && apt-get install --yes --no-install-recommends apt-transport-https dirmngr gnupg2 && mkdir -p /etc/apt/sources.list.d && GNUPGHOME=$(mktemp -d) && GNUPGHOME="$GNUPGHOME" gpg --batch --no-default-keyring --keyring /usr/share/keyrings/clickhouse-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3a9ea1193a97b548be1457d48919f6bd2b48d754 && rm -rf "$GNUPGHOME" && chmod +r /usr/share/keyrings/clickhouse-keyring.gpg && echo "https://s3.amazonaws.com/altinity-build-artifacts/PRs/2741/c34f9829887276b489379921a34cad3417fc8014/package_aarch64" > /etc/apt/sources.list.d/clickhouse.list && echo "installing from repository: https://s3.amazonaws.com/altinity-build-artifacts/PRs/2741/c34f9829887276b489379921a34cad3417fc8014/package_aarch64" && apt-get update && for package in clickhouse-client clickhouse-server clickhouse-common-static; do packages="${packages} ${package}=23.8.16.10044.altinitystable" ; done && apt-get install --allow-unauthenticated --yes --no-install-recommends ${packages} || exit 1 && rm -rf /var/lib/apt/lists/* /var/cache/debconf /tmp/* && apt-get autoremove --purge -yq libksba8 && apt-get autoremove -yq ; fi #6 CACHED #7 [ 6/10] RUN clickhouse-local -q 'SELECT * FROM system.build_options' && 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 #7 CACHED #8 [ 8/10] RUN mkdir /docker-entrypoint-initdb.d #8 CACHED #9 [ 3/10] RUN arch="arm64" && if [ -n "https://s3.amazonaws.com/altinity-build-artifacts/PRs/2741/c34f9829887276b489379921a34cad3417fc8014/package_aarch64" ]; then echo "installing from custom url with deb packages: https://s3.amazonaws.com/altinity-build-artifacts/PRs/2741/c34f9829887276b489379921a34cad3417fc8014/package_aarch64" && rm -rf /tmp/clickhouse_debs && mkdir -p /tmp/clickhouse_debs && for package in clickhouse-client clickhouse-server clickhouse-common-static; do { wget --progress=bar:force:noscroll "https://s3.amazonaws.com/altinity-build-artifacts/PRs/2741/c34f9829887276b489379921a34cad3417fc8014/package_aarch64/${package}_23.8.16.10044.altinitystable_${arch}.deb" -P /tmp/clickhouse_debs || wget --progress=bar:force:noscroll "https://s3.amazonaws.com/altinity-build-artifacts/PRs/2741/c34f9829887276b489379921a34cad3417fc8014/package_aarch64/${package}_23.8.16.10044.altinitystable_all.deb" -P /tmp/clickhouse_debs ; } || exit 1 ; done && dpkg -i /tmp/clickhouse_debs/*.deb && rm -rf /tmp/* ; fi #9 CACHED #10 [ 4/10] RUN if [ -n "" ]; then echo "installing from single binary url: " && rm -rf /tmp/clickhouse_binary && mkdir -p /tmp/clickhouse_binary && wget --progress=bar:force:noscroll "" -O /tmp/clickhouse_binary/clickhouse && chmod +x /tmp/clickhouse_binary/clickhouse && /tmp/clickhouse_binary/clickhouse install --user "clickhouse" --group "clickhouse" && rm -rf /tmp/* ; fi #10 CACHED #11 [ 7/10] RUN locale-gen en_US.UTF-8 #11 CACHED #12 [ 9/10] COPY docker_related_config.xml /etc/clickhouse-server/config.d/ #12 CACHED #13 [ 2/10] RUN sed -i "s|http://archive.ubuntu.com|http://archive.ubuntu.com|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 busybox ca-certificates locales tzdata wget && apt-get upgrade --yes --no-install-recommends && busybox --install -s && rm -rf /var/lib/apt/lists/* /var/cache/debconf /tmp/* #13 CACHED #14 [10/10] COPY entrypoint.sh /entrypoint.sh #14 CACHED #15 [auth] altinityinfra/clickhouse-server:pull,push token for registry-1.docker.io #15 DONE 0.0s #16 exporting to image #16 exporting layers done #16 exporting manifest sha256:e3f497bb6979605739fb89d567f6af412f4116af9d7cba71209948ce4288fc13 done #16 exporting config sha256:6d61e7f939948b17ff3b1c51072f44a6c468ab3d035d35e8563a00023719eba7 done #16 exporting attestation manifest sha256:4e7ac9f50f4bbc863a2c4bafa9201e202f83ee73509e6f1505d966c273089d31 0.0s done #16 exporting manifest list sha256:6a390f384aaf8d5cefc1b99a45f116fa63a791ed6de4abe67bc13c6a324a00af done #16 pushing layers #16 pushing layers 1.4s done #16 pushing manifest for docker.io/altinityinfra/clickhouse-server:latest@sha256:6a390f384aaf8d5cefc1b99a45f116fa63a791ed6de4abe67bc13c6a324a00af #16 pushing manifest for docker.io/altinityinfra/clickhouse-server:latest@sha256:6a390f384aaf8d5cefc1b99a45f116fa63a791ed6de4abe67bc13c6a324a00af 2.5s done #16 DONE 4.0s #17 resolving provenance for metadata file #17 DONE 0.0s 5 warnings found (use docker --debug to expand):  - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 119) - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 120) - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 121) - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 131) - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 118)