comparison deploy/linux/docker/Dockerfile_test_appimage.in @ 2158:3f3ad6701482

Ensure Docker cache is defeated when necessary for a consistent build
author Chris Cannam
date Thu, 13 Dec 2018 10:22:16 +0000
parents c1745df7e211
children
comparison
equal deleted inserted replaced
2157:40f16d6cbab2 2158:3f3ad6701482
1 FROM centos:7 1 FROM centos:7
2 RUN yum update 2
3 # Ensure that everything subsequent is re-run when a new revision is
4 # being built (rather than being cached) - so as to avoid potential
5 # mismatches between results of yum update and the package dependency
6 # installation itself
7 RUN echo [[REVISION]]
8
9 RUN yum -y update
3 RUN yum -y groupinstall "X Window System" 10 RUN yum -y groupinstall "X Window System"
4 RUN yum -y install wget 11 RUN yum -y install wget
5 ADD output/SonicVisualiser-[[REVISION]]-x86_64.AppImage SV.AppImage 12 ADD output/SonicVisualiser-[[REVISION]]-x86_64.AppImage SV.AppImage
6 RUN chmod +x SV.AppImage 13 RUN chmod +x SV.AppImage
7 RUN ./SV.AppImage --appimage-extract 14 RUN ./SV.AppImage --appimage-extract