Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Containerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1
FROM --platform=${BUILDPLATFORM} alpine:3.22 AS bootstrap
FROM --platform=${BUILDPLATFORM} docker.io/alpine:3.22 AS bootstrap
ARG TARGETPLATFORM
ARG MIRROR=https://repo-ci.voidlinux.org
ARG LIBC
Expand Down Expand Up @@ -58,6 +58,7 @@ RUN \
install -dm1777 tmp; \
xbps-reconfigure -fa; \
rm -rf /var/cache/xbps/*
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/bin
CMD ["/bin/sh"]

FROM scratch AS image-busybox
Expand All @@ -69,6 +70,7 @@ RUN \
install -dm1777 tmp; \
xbps-reconfigure -fa; \
rm -rf /var/cache/xbps/*
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/bin
CMD ["/bin/sh"]

FROM scratch AS image-full
Expand All @@ -77,4 +79,5 @@ RUN \
install -dm1777 tmp; \
xbps-reconfigure -fa; \
rm -rf /var/cache/xbps/*
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/bin
CMD ["/bin/sh"]
Loading