diff options
author | Maxim Biro <nurupo.contributions@gmail.com> | 2018-09-26 18:59:13 -0400 |
---|---|---|
committer | Maxim Biro <nurupo.contributions@gmail.com> | 2018-10-17 14:45:36 -0400 |
commit | 9b98ac1342c93babaad5968c339652ec711fbf77 (patch) | |
tree | 0db4f28881d60a7cf7c7c584db1c19e64251634d /other | |
parent | f45bf686ae4acb846f0739fea5515044d1debd06 (diff) |
tox-bootstrapd's Dockerfile shouldn't use master branch
Diffstat (limited to 'other')
-rw-r--r-- | other/bootstrap_daemon/docker/Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/other/bootstrap_daemon/docker/Dockerfile b/other/bootstrap_daemon/docker/Dockerfile index 373f61c6..06bf66eb 100644 --- a/other/bootstrap_daemon/docker/Dockerfile +++ b/other/bootstrap_daemon/docker/Dockerfile | |||
@@ -21,6 +21,8 @@ RUN export BUILD_PACKAGES="\ | |||
21 | # install toxcore and daemon | 21 | # install toxcore and daemon |
22 | git clone https://github.com/TokTok/c-toxcore && \ | 22 | git clone https://github.com/TokTok/c-toxcore && \ |
23 | cd c-toxcore && \ | 23 | cd c-toxcore && \ |
24 | # checkout latest release version | ||
25 | git checkout $(git tag --list | grep -P '^v(\d+).(\d+).(\d+)$' | sed "s/v/v /g" | sed "s/\./ /g" | sort -snk4,4 | sort -snk3,3 | sort -snk2,2 | tail -n 1 | sed 's/v /v/g' | sed 's/ /\./g') && \ | ||
24 | ./autogen.sh && \ | 26 | ./autogen.sh && \ |
25 | ./configure --enable-daemon && \ | 27 | ./configure --enable-daemon && \ |
26 | make -j`nproc` && \ | 28 | make -j`nproc` && \ |