File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM ghcr.io/void-linux/void-linux :latest
1+ FROM voidlinux/voidlinux :latest
22
3- # Override repos immediately with CDN (most reliable mirror)
4- RUN rm -f /usr/share/xbps.d/*.conf \
5- && echo 'repository=https://repo-default.voidlinux.org/current' > /usr/share/xbps.d/00-repository-main.conf \
6- && echo 'repository=https://repo-default.voidlinux.org/current/nonfree' > /usr/share/xbps.d/10-repository-nonfree.conf \
7- && xbps-install -S \
8- && xbps-install -y base-devel curl git cmake nodejs python3 cargo bash \
3+ # GitHub Actions: default repos point to broken mirror.
4+ # Use --repository flag to bypass repo configs entirely.
5+ RUN xbps-install -Sy --repository=https://repo-default.voidlinux.org/current \
6+ base-devel curl git cmake nodejs python3 cargo bash \
97 && rm -rf /var/cache/xbps/*
108
119CMD ["/bin/bash"]
You can’t perform that action at this time.
0 commit comments