diff options
author | MS <ms@taler.net> | 2022-11-14 22:09:24 +0100 |
---|---|---|
committer | MS <ms@taler.net> | 2022-11-14 22:09:24 +0100 |
commit | 42d9ba01ab23ce390fafa3fc339705efc8d4ea80 (patch) | |
tree | a853c28f47a76aa3bdd89e987987d40135c7e064 /docker/demo | |
parent | 860d427a5ac888a834f952b347fbfac5ff089bb3 (diff) | |
download | deployment-42d9ba01ab23ce390fafa3fc339705efc8d4ea80.tar.gz deployment-42d9ba01ab23ce390fafa3fc339705efc8d4ea80.tar.bz2 deployment-42d9ba01ab23ce390fafa3fc339705efc8d4ea80.zip |
fix conditional
Diffstat (limited to 'docker/demo')
-rw-r--r-- | docker/demo/images/base/Dockerfile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docker/demo/images/base/Dockerfile b/docker/demo/images/base/Dockerfile index 00da851..86defb4 100644 --- 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 |