diff --git a/Dockerfiles/mods/Dockerfile-7.3 b/Dockerfiles/mods/Dockerfile-7.3 index 9f12c55..ff47f31 100644 --- a/Dockerfiles/mods/Dockerfile-7.3 +++ b/Dockerfiles/mods/Dockerfile-7.3 @@ -157,7 +157,8 @@ RUN set -x \ && git clone -v https://github.com/swoole/swoole-src /tmp/swoole \ && cd /tmp/swoole \ && git checkout master \ - && git submodule update --init --recursive \ + && git checkout $(git describe --abbrev=0 --tags) \ +&& git submodule update --init --recursive \ && cd thirdparty/hiredis \ && make -j$(getconf _NPROCESSORS_ONLN) \ && make install \ diff --git a/build/ansible/group_vars/all.yml b/build/ansible/group_vars/all.yml index f415580..cbe6a3e 100644 --- a/build/ansible/group_vars/all.yml +++ b/build/ansible/group_vars/all.yml @@ -1304,7 +1304,8 @@ extensions_available: git_url: https://github.com/swoole/swoole-src git_ref: master command: | - git submodule update --init --recursive \ + git checkout $(git describe --abbrev=0 --tags) \ + && git submodule update --init --recursive \ && cd thirdparty/hiredis \ && make -j$(getconf _NPROCESSORS_ONLN) \ && make install \