Pass in a git reversion/tag/branch from dockerfile into build.sh

This commit is contained in:
Peter D. Gray 2018-08-16 11:25:01 -04:00
parent f6d6572bb9
commit 98c4b9e42e
No known key found for this signature in database
GPG Key ID: F0E6CC6AFC16CF7B

View File

@ -1,4 +1,5 @@
FROM ubuntu:18.04@sha256:5f4bdc3467537cbbe563e80db2c3ec95d548a9145d64453b06939c4592d67b6d
ARG GIT_REV
ENV LC_ALL=C.UTF-8 LANG=C.UTF-8
@ -34,4 +35,4 @@ RUN dpkg --add-architecture i386 && \
COPY . /opt/wine64/drive_c/electrum
RUN cd /opt/wine64/drive_c/electrum/contrib/build-wine && ./build.sh
RUN cd /opt/wine64/drive_c/electrum/contrib/build-wine && ./build.sh $GIT_REV