From b1fa2325e98c2b8a7408e2d93cc886fde8cad6d6 Mon Sep 17 00:00:00 2001 From: Ryan McGuire Date: Thu, 30 May 2019 16:16:37 -0400 Subject: [PATCH] lbrynet compile steps require TRAVIS_COMMIT env var. --- lbrynet/Dockerfile-linux-multiarch-compiler | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lbrynet/Dockerfile-linux-multiarch-compiler b/lbrynet/Dockerfile-linux-multiarch-compiler index ce902ae..cf926f4 100644 --- a/lbrynet/Dockerfile-linux-multiarch-compiler +++ b/lbrynet/Dockerfile-linux-multiarch-compiler @@ -51,7 +51,8 @@ RUN python3.7 -m pip install -e . WORKDIR /lbry/ COPY stuff/start.sh /usr/local/bin/start COPY stuff/checkmount.sh /usr/local/bin/checkmount -RUN python3.7 scripts/set_build.py && \ +RUN export TRAVIS_COMMIT=`git rev-parse HEAD` && \ + python3.7 scripts/set_build.py && \ python3.7 -m pip install -e . && \ pyinstaller -F -n lbrynet lbrynet/extras/cli.py && \ chmod +x /lbry/dist/lbrynet && \