commit 860d427a5ac888a834f952b347fbfac5ff089bb3
parent 6bdf6c4ed586bd9f774cde631df50066cc49ad46
Author: MS <ms@taler.net>
Date: Mon, 14 Nov 2022 21:15:16 +0100
Submodule workaround.
Fix commit not found by first downloading
all the history.
Diffstat:
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git 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
@@ -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