summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/wallet-docker/Dockerfile9
-rw-r--r--contrib/wallet-docker/gitbuild.sh18
2 files changed, 27 insertions, 0 deletions
diff --git a/contrib/wallet-docker/Dockerfile b/contrib/wallet-docker/Dockerfile
new file mode 100644
index 000000000..d1a04d32c
--- /dev/null
+++ b/contrib/wallet-docker/Dockerfile
@@ -0,0 +1,9 @@
+FROM debian:bullseye AS walletbuild
+
+# Install dependencies
+RUN apt-get update
+RUN apt-get -y upgrade
+RUN apt-get -y install build-essential zip jq python3 python3-pip nodejs npm
+RUN npm install -g pnpm
+
+COPY gitbuild.sh /bin
diff --git a/contrib/wallet-docker/gitbuild.sh b/contrib/wallet-docker/gitbuild.sh
new file mode 100644
index 000000000..9e84c82dd
--- /dev/null
+++ b/contrib/wallet-docker/gitbuild.sh
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+set -eu
+
+# Fetch source
+git clone https://git.taler.net/wallet-core.git
+
+cd wallet-core
+
+# Only for git repositories
+./bootstrap
+
+# Run build
+./configure
+make webextension
+
+# Copy WebExtension to root folder
+cp wallet-core/packages/taler-wallet-webextension/taler-wallet*.zip /