Merge pull request #9068 from microsoft/danmihai1/dockerfile-linux-musl-gcc

tools: avoid rootfs-image build "ln -s" error
This commit is contained in:
Dan Mihai
2024-02-11 18:02:53 -08:00
committed by GitHub

View File

@@ -31,6 +31,6 @@ RUN apt-get update && \
protobuf-compiler \
xz-utils
# aarch64 requires this name -- link for all
RUN ln -s /usr/bin/musl-gcc "/usr/bin/$(uname -m)-linux-musl-gcc"
RUN if [ ! -f "/usr/bin/$(uname -m)-linux-musl-gcc" ]; then ln -s /usr/bin/musl-gcc "/usr/bin/$(uname -m)-linux-musl-gcc"; fi
@INSTALL_RUST@