File tree Expand file tree Collapse file tree
net10.0/cross/loongarch64
net11.0/cross/loongarch64
4.0/net11.0/cross/loongarch64 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,10 @@ ARG ROOTFS_DIR=/crossrootfs/loongarch64
33FROM mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-net10.0-crossdeps-builder-amd64 AS builder
44ARG ROOTFS_DIR
55
6- RUN PYTHON_EXECUTABLE="$ROOTFS_PIP_HOME/bin/python" /scripts/eng/common/cross/build-rootfs.sh loongarch64 sid --skipunmount --skipemulation
6+ # Use a network-allowed Debian mirror (deb.debian.org is blocked in network-restricted Azure build environments).
7+ # amd64/arm64 use the Azure-hosted mirror; loongarch64 uses the Debian Fastly CDN because
8+ # debian-archive.trafficmanager.net does not serve loongarch64 packages.
9+ RUN PYTHON_EXECUTABLE="$ROOTFS_PIP_HOME/bin/python" /scripts/eng/common/cross/build-rootfs.sh loongarch64 sid --skipunmount --skipemulation --debian-repo http://cdn-fastly.deb.debian.org/debian
710
811RUN TARGET_TRIPLE="loongarch64-linux-gnu" && \
912 GCC_VER=$(basename "$(find " $ROOTFS_DIR/usr/include/c++/" -mindepth 1 -maxdepth 1 -type d | sort -V | head -n1)" ) && \
Original file line number Diff line number Diff line change @@ -3,7 +3,10 @@ ARG ROOTFS_DIR=/crossrootfs/loongarch64
33FROM mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-net11.0-crossdeps-builder-amd64 AS builder
44ARG ROOTFS_DIR
55
6- RUN PYTHON_EXECUTABLE="$ROOTFS_PIP_HOME/bin/python" /scripts/eng/common/cross/build-rootfs.sh loongarch64 sid --skipunmount --skipemulation
6+ # Use a network-allowed Debian mirror (deb.debian.org is blocked in network-restricted Azure build environments).
7+ # amd64/arm64 use the Azure-hosted mirror; loongarch64 uses the Debian Fastly CDN because
8+ # debian-archive.trafficmanager.net does not serve loongarch64 packages.
9+ RUN PYTHON_EXECUTABLE="$ROOTFS_PIP_HOME/bin/python" /scripts/eng/common/cross/build-rootfs.sh loongarch64 sid --skipunmount --skipemulation --debian-repo http://cdn-fastly.deb.debian.org/debian
710
811RUN TARGET_TRIPLE="loongarch64-linux-gnu" && \
912 GCC_VER=$(basename "$(find " $ROOTFS_DIR/usr/include/c++/" -mindepth 1 -maxdepth 1 -type d | sort -V | head -n1)" ) && \
Original file line number Diff line number Diff line change @@ -3,7 +3,10 @@ ARG ROOTFS_DIR=/crossrootfs/loongarch64
33FROM mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-4.0-net11.0-crossdeps-builder-amd64 AS builder
44ARG ROOTFS_DIR
55
6- RUN PYTHON_EXECUTABLE="$ROOTFS_PIP_HOME/bin/python" /scripts/eng/common/cross/build-rootfs.sh loongarch64 sid --skipunmount --skipemulation
6+ # Use a network-allowed Debian mirror (deb.debian.org is blocked in network-restricted Azure build environments).
7+ # amd64/arm64 use the Azure-hosted mirror; loongarch64 uses the Debian Fastly CDN because
8+ # debian-archive.trafficmanager.net does not serve loongarch64 packages.
9+ RUN PYTHON_EXECUTABLE="$ROOTFS_PIP_HOME/bin/python" /scripts/eng/common/cross/build-rootfs.sh loongarch64 sid --skipunmount --skipemulation --debian-repo http://cdn-fastly.deb.debian.org/debian
710
811RUN TARGET_TRIPLE="loongarch64-linux-gnu" && \
912 GCC_VER=$(basename "$(find " $ROOTFS_DIR/usr/include/c++/" -mindepth 1 -maxdepth 1 -type d | sort -V | head -n1)" ) && \
You can’t perform that action at this time.
0 commit comments