commit 42d9ba01ab23ce390fafa3fc339705efc8d4ea80 parent 860d427a5ac888a834f952b347fbfac5ff089bb3 Author: MS <ms@taler.net> Date: Mon, 14 Nov 2022 22:09:24 +0100 fix conditional Diffstat:
| M | docker/demo/images/base/Dockerfile | | | 7 | ++++--- |
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/docker/demo/images/base/Dockerfile b/docker/demo/images/base/Dockerfile @@ -43,10 +43,11 @@ RUN make install 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. +# when moving the main repository to past versions. 6b9824c +# is compatible with v0.9.0 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 if . /tags.sh && test "${TAG_EXCHANGE:-}" = "v0.9.0"; then git -C contrib/gana checkout 6b9824c; fi +RUN if . /tags.sh && test "${TAG_EXCHANGE:-}" = "v0.9.0"; then git submodule set-uri contrib/gana .; fi RUN ./bootstrap RUN ./configure CFLAGS="-ggdb -O0" --enable-logging=verbose --disable-doc RUN make install