Skip to content

Commit 3503729

Browse files
committed
fix: Void Dockerfile — wipe repos, use --repository only
1 parent 4707291 commit 3503729

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

tests/docker/Dockerfile.void

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
FROM voidlinux/voidlinux:latest
22

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 \
3+
# GitHub Actions: image has broken default repos.
4+
# Wipe config entirely, use --repository flag only.
5+
RUN rm -rf /usr/share/xbps.d \
6+
&& 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 \
79
&& rm -rf /var/cache/xbps/*
810

911
CMD ["/bin/bash"]

0 commit comments

Comments
 (0)