Move to new xbps-[build|remote|local] helpers
parent
32d535df62
commit
a88b048498
@ -1,2 +1,2 @@
|
|||||||
FROM d.xr.to/img
|
FROM d.xr.to/img
|
||||||
RUN xbps-install -Sy perl && xbps-remove -Oo && rm -rf /var/cache/xbps/* /tmp/xbps
|
RUN xbps-remote perl
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
FROM d.xr.to/base:glibc
|
FROM d.xr.to/base:glibc
|
||||||
RUN xbps-install -Sy openjdk-jre && rm -rf /var/cache/xbps;
|
RUN xbps-remote openjdk-jre;
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
FROM d.xr.to/xbps-builder AS builder
|
FROM d.xr.to/xbps-builder AS builder
|
||||||
COPY files/template /_workdir/srcpkgs/reg/template
|
COPY files/template /_workdir/srcpkgs/reg/template
|
||||||
RUN ./xbps-src pkg reg
|
RUN xbps-build reg
|
||||||
FROM d.xr.to/base:glibc AS main
|
FROM d.xr.to/base:glibc AS main
|
||||||
LABEL maintainer="=@eater.me"
|
LABEL maintainer="=@eater.me"
|
||||||
COPY --from=builder /_workdir/hostdir/binpkgs /tmp/xbps
|
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
|
RUN xbps-local reg &&
|
||||||
EXPOSE 8080/tcp
|
EXPOSE 8080/tcp
|
||||||
|
Loading…
Reference in New Issue