summaryrefslogtreecommitdiff
path: root/packaging/docker-alpine/taler-merchant-builder.Containerfile
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/docker-alpine/taler-merchant-builder.Containerfile')
-rw-r--r--packaging/docker-alpine/taler-merchant-builder.Containerfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/packaging/docker-alpine/taler-merchant-builder.Containerfile b/packaging/docker-alpine/taler-merchant-builder.Containerfile
new file mode 100644
index 0000000..9c92bb6
--- /dev/null
+++ b/packaging/docker-alpine/taler-merchant-builder.Containerfile
@@ -0,0 +1,22 @@
+FROM taler-alpine-imaging/taler-exchange:builder
+
+WORKDIR /builder
+RUN git clone https://git.taler.net/merchant.git merchant --recursive -j 8
+WORKDIR /builder/merchant
+RUN apk add libqrencode libqrencode-dev
+RUN ./bootstrap
+RUN ./configure \
+ --prefix=/prefix/usr \
+ --sysconfdir=/prefix/etc \
+ --mandir=/prefix/usr/share/man \
+ --localstatedir=/prefix/var \
+ --with-microhttpd=/prefix/usr \
+ --enable-logging=verbose
+
+RUN make -j
+RUN make install
+
+LABEL org.opencontainers.image.title="Taler Merchant: Builder"
+LABEL org.opencontainers.image.description="An alpine-based image containing the libraries from the Taler Merchant"
+LABEL org.opencontainers.image.source="https://git.taler.net/deployment.git/tree/packaging/docker-alpine/taler-merchant-builder.Containerfile"
+LABEL org.opencontainers.image.authors="Nullptrderef <nullptrderef@proton.me>"