You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
501 B
Docker
16 lines
501 B
Docker
6 years ago
|
FROM d.xr.to/xbps-builder AS builder
|
||
|
RUN git pull;
|
||
|
COPY files/template /_workdir/srcpkgs/grumble/template
|
||
|
RUN ./xbps-src pkg grumble
|
||
|
FROM d.xr.to/base AS main
|
||
|
LABEL maintainer="=@eater.me"
|
||
|
COPY --from=builder /_workdir/hostdir/binpkgs /tmp/xbps
|
||
|
RUN xbps-install -SyR /tmp/xbps grumble && xbps-remove -Oo && rm -rf /var/cache/xbps/* /tmp/xbps
|
||
|
RUN mkdir /grumble
|
||
|
COPY files/grumble.ini /grumble/grumble.ini
|
||
|
VOLUME /grumble
|
||
|
EXPOSE 64738/tcp
|
||
|
EXPOSE 64738/udp
|
||
|
EXPOSE 443/tcp
|
||
|
CMD grumble --datadir /grumble
|