summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-02-23 20:35:38 +0100
committerFlorian Dold <florian@dold.me>2023-02-23 20:35:38 +0100
commit1b67d0a7262e9f3c6029c978fb13c2956f697bbf (patch)
treea13c131aa38659e59af613cfb9a9a7960e2f31fe
parent0044786c317ec9c9f842b87ae202f77f8162ea74 (diff)
downloaddeployment-1b67d0a7262e9f3c6029c978fb13c2956f697bbf.tar.gz
deployment-1b67d0a7262e9f3c6029c978fb13c2956f697bbf.tar.bz2
deployment-1b67d0a7262e9f3c6029c978fb13c2956f697bbf.zip
compile-and-check: clean up, document
-rw-r--r--docker/compile-and-check/README25
-rw-r--r--docker/compile-and-check/base/Dockerfile2
-rwxr-xr-xdocker/compile-and-check/buildbot-compile-and-check/build.sh5
-rwxr-xr-xdocker/compile-and-check/buildbot-compile-and-check/run.sh4
-rw-r--r--docker/compile-and-check/config/tags.sh2
5 files changed, 17 insertions, 21 deletions
diff --git a/docker/compile-and-check/README b/docker/compile-and-check/README
index d6eb7d8..e70c571 100644
--- a/docker/compile-and-check/README
+++ b/docker/compile-and-check/README
@@ -2,20 +2,25 @@ This Docker image compiles and checks all the Taler code
along its entrypoint. In case of build failures, it optionally
offers a debug shell to inspect the running container.
-Build
------
+Build Toolchain Image
+---------------------
-To compile the Git master code, run the following
-command from this directory. Note: some versions
-may require to first export the env var DOCKER_BUILDKIT=1.
-
-$ docker build -t sandcastle-checker base/
+To build image with app dependencies to build Taler, run ./build.sh
Run
---
-After having built the image above, run the following command
-to build Taler and get a debug shell if that fails:
+To start the build process, run
+
+$ ./build.sh
+
+Interactive Debugging
+---------------------
+
+To interactively debug the build process, run
+
+$ ./interactive.sh
+Then inside the container, run the entry point manually
-$ docker run -e SANDCASTLE_DEBUG_SHELL=yes -it sandcastle-checker
+[cointainer]$ /home/talercheck/compile_and_check.sh
diff --git a/docker/compile-and-check/base/Dockerfile b/docker/compile-and-check/base/Dockerfile
index 2f946f1..8ce899b 100644
--- a/docker/compile-and-check/base/Dockerfile
+++ b/docker/compile-and-check/base/Dockerfile
@@ -29,7 +29,7 @@ RUN mkdir -p tmp
# and setting PATH correctly
ENV PATH="/home/talercheck/.local/bin:$PATH"
-RUN pip3 install requests click poetry uwsgi htmlark
+RUN pip3 install --break-system-packages requests click poetry uwsgi htmlark
RUN npm config set prefix $HOME/.npm-global
RUN npm install -g pnpm
diff --git a/docker/compile-and-check/buildbot-compile-and-check/build.sh b/docker/compile-and-check/buildbot-compile-and-check/build.sh
deleted file mode 100755
index 195ed11..0000000
--- a/docker/compile-and-check/buildbot-compile-and-check/build.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-
-export DOCKER_BUILDKIT=1
-docker build -t sandcastle-checker ../base/
diff --git a/docker/compile-and-check/buildbot-compile-and-check/run.sh b/docker/compile-and-check/buildbot-compile-and-check/run.sh
deleted file mode 100755
index 99e0609..0000000
--- a/docker/compile-and-check/buildbot-compile-and-check/run.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-
-docker run -e SANDCASTLE_DEBUG_SHELL=yes -it sandcastle-checker
diff --git a/docker/compile-and-check/config/tags.sh b/docker/compile-and-check/config/tags.sh
index 49c13a4..ce2ed9c 100644
--- a/docker/compile-and-check/config/tags.sh
+++ b/docker/compile-and-check/config/tags.sh
@@ -1,5 +1,5 @@
TAG_LIBMHD=v0.9.75
-TAG_GNUNET=v0.19.2
+TAG_GNUNET=v0.19.3
TAG_EXCHANGE=master
TAG_MERCHANT=master
TAG_EXCHANGE=master