We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4707291 commit 3503729Copy full SHA for 3503729
1 file changed
tests/docker/Dockerfile.void
@@ -1,9 +1,11 @@
1
FROM voidlinux/voidlinux:latest
2
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 \
+# GitHub Actions: image has broken default repos.
+# Wipe config entirely, use --repository flag only.
+RUN rm -rf /usr/share/xbps.d \
+ && mkdir -p /usr/share/xbps.d \
7
+ && xbps-install -Sy --repository=https://repo-default.voidlinux.org/current \
8
+ base-devel curl git cmake nodejs python3 cargo bash \
9
&& rm -rf /var/cache/xbps/*
10
11
CMD ["/bin/bash"]
0 commit comments