flavors/xbps-builder
2019-07-04 15:10:19 +02:00
..
files Add grumble and xbps-builder container 2019-02-22 00:00:25 +01:00
Dockerfile xbps-builder: use glibc container 2019-07-04 15:10:19 +02:00
README.md Add grumble and xbps-builder container 2019-02-22 00:00:25 +01:00

d.xr.to/xbps-builder

docker pull d.xr.to/xbps-builder

A simple pre-configured container to build void packages in, void-linux/void-packages is checked out in /_workdir which is also the current workdir

Building an image inside a Dockerfile and installing it it in a target docker container looks like the following

FROM d.xr.to/xbps-builder AS builder
RUN git pull
RUN ./xbps-src pkg docker
FROM d.xr.to/base
COPY --from=builder /_workdir/hostdir /tmp/xbps
RUN xbps-install -SyR /tmp/xbps docker \
      && xbps-remove -Oo \
      && rm -rf /var/cache/xbps/* /tmp/xbps

Warning

This xbps-builder is bootstrapped with some very bad magic, so if you hit an issue, please create an issue!