diff --git a/Dockerfile b/Dockerfile index 3dae50a446..e0c350126c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,10 @@ RUN echo "Building for $TARGETARCH, arch: $(bash target_arch.sh)" COPY --from=planner /qdrant/recipe.json recipe.json -RUN apt-get update && apt-get install -y gcc-multilib && apt-get install -y clang cmake gcc-aarch64-linux-gnu g++-aarch64-linux-gnu protobuf-compiler && rustup component add rustfmt +RUN apt-get update \ + && ( apt-get install -y gcc-multilib || echo "Warning: not installing gcc-multilib" ) \ + && apt-get install -y clang cmake gcc-aarch64-linux-gnu g++-aarch64-linux-gnu protobuf-compiler \ + && rustup component add rustfmt RUN rustup target add $(bash target_arch.sh)