summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorMS <ms@taler.net>2022-11-14 21:15:16 +0100
committerMS <ms@taler.net>2022-11-14 21:15:16 +0100
commit860d427a5ac888a834f952b347fbfac5ff089bb3 (patch)
tree89f4d086e444c04fdadc2e74889e01a56835c2ae /docker
parent6bdf6c4ed586bd9f774cde631df50066cc49ad46 (diff)
downloaddeployment-860d427a5ac888a834f952b347fbfac5ff089bb3.tar.gz
deployment-860d427a5ac888a834f952b347fbfac5ff089bb3.tar.bz2
deployment-860d427a5ac888a834f952b347fbfac5ff089bb3.zip
Submodule workaround.
Fix commit not found by first downloading all the history.
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/demo/build_base.sh3
-rw-r--r--docker/demo/images/base/Dockerfile1
2 files changed, 4 insertions, 0 deletions
diff --git a/docker/demo/build_base.sh b/docker/demo/build_base.sh
index 776eeae..57b639d 100755
--- a/docker/demo/build_base.sh
+++ b/docker/demo/build_base.sh
@@ -37,6 +37,9 @@ if test -n "$2"; then
cd -
exit 0
fi
+
+# Tags file not given, need a dummy one to
+# make COPY happy.
echo Creating the dummy 'taler_notags' file.
touch taler_notags
docker build --no-cache \
diff --git a/docker/demo/images/base/Dockerfile b/docker/demo/images/base/Dockerfile
index 352084f..00da851 100644
--- a/docker/demo/images/base/Dockerfile
+++ b/docker/demo/images/base/Dockerfile
@@ -44,6 +44,7 @@ WORKDIR /exchange
# Workaround a reported issue where the bootstrap script
# always pulls the latest submodule version. That breaks
# when moving the main repository to past versions.
+RUN git -C contrib/gana pull
RUN . /tags.sh && test "${TAG_EXCHANGE:-}" = "v0.9.0" && git -C contrib/gana checkout 6b9824c # v0.9.0-compatible
RUN . /tags.sh && test "${TAG_EXCHANGE:-}" = "v0.9.0" && git submodule set-uri contrib/gana .
RUN ./bootstrap