File tree Expand file tree Collapse file tree
src/azurelinux/4.0/net11.0/crossdeps/amd64 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,6 +40,12 @@ RUN dnf update -y && \
4040 azure-cli \
4141 && dnf clean all
4242
43+ # GNU toolchain is installed in 'x86_64-azurelinux-linux' directory which is not recognized by
44+ # clang (https://github.com/llvm/llvm-project/blob/main/clang/lib/Driver/ToolChains/Gnu.cpp),
45+ # so we create a symlink with -pc- triplet.
46+ RUN ln -s /usr/lib/gcc/$(uname -m)-azurelinux-linux /usr/lib/gcc/$(uname -m)-pc-linux-gnu && \
47+ ln -s /usr/include/c++/15/$(uname -m)-azurelinux-linux /usr/include/c++/15/$(uname -m)-pc-linux-gnu;
48+
4349COPY --from=powershell /usr/share/dotnet/LICENSE.txt /usr/share/dotnet/ThirdPartyNotices.txt /usr/share/dotnet/dotnet /usr/share/dotnet/
4450COPY --from=powershell /usr/share/dotnet/host /usr/share/dotnet/host
4551COPY --from=powershell /usr/share/dotnet/shared /usr/share/dotnet/shared
You can’t perform that action at this time.
0 commit comments