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
commit 42d13a0f33
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,6 +31,6 @@ RUN apt-get update && \
protobuf-compiler \ protobuf-compiler \
xz-utils xz-utils
# aarch64 requires this name -- link for all # 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@ @INSTALL_RUST@