Make gcc-multilib optional in Docker build (#1531)

This commit is contained in:
Tim Visée
2023-03-07 17:03:20 +01:00
committed by Andrey Vasnetsov
parent d7379f0706
commit b6b704955f

View File

@@ -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)