8 lines
337 B
Docker
8 lines
337 B
Docker
FROM d.xr.to/xbps-builder AS builder
|
|
COPY files/template /_workdir/srcpkgs/reg/template
|
|
RUN ./xbps-src pkg reg
|
|
FROM d.xr.to/base:glibc AS main
|
|
LABEL maintainer="=@eater.me"
|
|
COPY --from=builder /_workdir/hostdir/binpkgs /tmp/xbps
|
|
RUN xbps-install -yR /tmp/xbps reg && xbps-remove -Oo && rm -rf /var/cache/xbps/* /tmp/xbps
|
|
EXPOSE 8080/tcp
|