Make appimage version in Dockerfile dynamic

This commit is contained in:
Peter Šurda 2021-12-14 15:09:30 +01:00
parent 5bc92987c0
commit 9814b1adc3

View File

@ -94,11 +94,11 @@ COPY . /home/builder/src
WORKDIR /home/builder/src
RUN python setup.py -V
RUN python setup.py sdist
RUN python setup.py --command-packages=stdeb.command bdist_deb
RUN dpkg-deb -I deb_dist/pybitmessage_0.6.3.2-1_amd64.deb
RUN VERSION=$(python setup.py -V) \
&& python setup.py sdist \
&& python setup.py --command-packages=stdeb.command bdist_deb \
&& dpkg-deb -I deb_dist/pybitmessage_${VERSION}-1_amd64.deb
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