summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildbot/wallet-core-doxygen.Containerfile33
1 files changed, 33 insertions, 0 deletions
diff --git a/buildbot/wallet-core-doxygen.Containerfile b/buildbot/wallet-core-doxygen.Containerfile
new file mode 100644
index 0000000..e156051
--- /dev/null
+++ b/buildbot/wallet-core-doxygen.Containerfile
@@ -0,0 +1,33 @@
+FROM docker.io/library/node:18-slim
+
+ENV DEBIAN_FRONTEND=noninteractive
+
+RUN apt-get update -yq && \
+ apt-get install -yqq \
+ git \
+ python3 \
+ python3-distutils \
+ make \
+ zip \
+ jq
+
+RUN npm install -g pnpm@latest-5
+
+# Copy in our source so we can work with it
+COPY . /wallet-core
+
+# Set our workdir. All subsequent commands will be relative to this path.
+WORKDIR /wallet-core
+
+RUN ./bootstrap && \
+ ./configure && \
+ make
+
+RUN pnpm install -W typedoc && \
+ ./node_modules/typedoc/bin/typedoc \
+ --out dist/typedoc \
+ --tsconfig tsconfig.build.json \
+ packages/taler-util/src/index.ts \
+ packages/taler-wallet-cli/src/index.ts \
+ packages/taler-wallet-android/src/index.ts \
+ packages/taler-wallet-core/src/index.ts