From ebb41504c02fee4dc1a24c94613985760120d841 Mon Sep 17 00:00:00 2001 From: "Mikhail f. Shiryaev" Date: Sun, 12 Feb 2023 14:55:16 +0100 Subject: [PATCH] Move copy to the end for parallel image building --- docker/packager/binary/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/packager/binary/Dockerfile b/docker/packager/binary/Dockerfile index 60208b5068d..ea985df975a 100644 --- a/docker/packager/binary/Dockerfile +++ b/docker/packager/binary/Dockerfile @@ -42,7 +42,6 @@ RUN git clone --depth 1 https://github.com/tpoechtrager/cctools-port.git \ FROM clickhouse/test-util:$FROM_TAG ENV CC=clang-${LLVM_VERSION} ENV CXX=clang++-${LLVM_VERSION} -COPY --from=cctools /cctools /cctools # Rust toolchain and libraries ENV RUSTUP_HOME=/rust/rustup @@ -103,6 +102,8 @@ RUN curl -Lo /usr/bin/clang-tidy-cache \ "https://raw.githubusercontent.com/matus-chochlik/ctcache/$CLANG_TIDY_SHA1/clang-tidy-cache" \ && chmod +x /usr/bin/clang-tidy-cache +COPY --from=cctools /cctools /cctools + RUN mkdir /workdir && chmod 777 /workdir WORKDIR /workdir