Make appimage version in Dockerfile dynamic
This commit is contained in:
parent
5bc92987c0
commit
9814b1adc3
|
@ -94,11 +94,11 @@ COPY . /home/builder/src
|
||||||
|
|
||||||
WORKDIR /home/builder/src
|
WORKDIR /home/builder/src
|
||||||
|
|
||||||
RUN python setup.py -V
|
RUN VERSION=$(python setup.py -V) \
|
||||||
|
&& python setup.py sdist \
|
||||||
RUN python setup.py sdist
|
&& python setup.py --command-packages=stdeb.command bdist_deb \
|
||||||
RUN python setup.py --command-packages=stdeb.command bdist_deb
|
&& dpkg-deb -I deb_dist/pybitmessage_${VERSION}-1_amd64.deb
|
||||||
RUN dpkg-deb -I deb_dist/pybitmessage_0.6.3.2-1_amd64.deb
|
|
||||||
|
|
||||||
RUN buildscripts/appimage.sh
|
RUN buildscripts/appimage.sh
|
||||||
RUN out/PyBitmessage-0.6.3.2.glibc2.15-x86_64.AppImage --appimage-extract-and-run -t
|
RUN VERSION=$(python setup.py -V) \
|
||||||
|
&& out/PyBitmessage-${VERSION}.glibc2.15-x86_64.AppImage --appimage-extract-and-run -t
|
||||||
|
|
Reference in New Issue
Block a user