From 8a40ea4812123d421f46d8c383a4d575e19a988a Mon Sep 17 00:00:00 2001 From: eater <=@eater.me> Date: Fri, 22 Feb 2019 14:43:44 +0100 Subject: [PATCH] Add reg container --- reg/Dockerfile | 9 +++++++++ reg/files/template | 13 +++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 reg/Dockerfile create mode 100644 reg/files/template diff --git a/reg/Dockerfile b/reg/Dockerfile new file mode 100644 index 0000000..7e20e14 --- /dev/null +++ b/reg/Dockerfile @@ -0,0 +1,9 @@ +FROM d.xr.to/xbps-builder AS builder +RUN git pull; +COPY files/template /_workdir/srcpkgs/reg/template +RUN ./xbps-src pkg reg +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 reg && xbps-remove -Oo && rm -rf /var/cache/xbps/* /tmp/xbps +EXPOSE 8080/tcp diff --git a/reg/files/template b/reg/files/template new file mode 100644 index 0000000..4fd2860 --- /dev/null +++ b/reg/files/template @@ -0,0 +1,13 @@ +# Template file for 'grumble' +pkgname=reg +version=0.16.0 +revision=1 +short_desc="nada" +build_style="go" +go_import_path=github.com/genuinetools/reg +go_package="${go_import_path}" +license="BAD" +homepage="https://github.com/mumble-voip/grumble" +_branch="config" +distfiles="https://github.com/genuinetools/reg/archive/v${version}.tar.gz" +checksum="f2cc7625a7900d55244fa73741c2707bcd24b44e5d64d3e934e8884723191328"