diff 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
line wrap: on
line diff
--- a/deploy/linux/docker/Dockerfile_test_appimage.in	Wed Dec 12 12:14:47 2018 +0000
+++ b/deploy/linux/docker/Dockerfile_test_appimage.in	Thu Dec 13 10:22:16 2018 +0000
@@ -1,5 +1,12 @@
 FROM centos:7
-RUN yum update
+
+# Ensure that everything subsequent is re-run when a new revision is
+# being built (rather than being cached) - so as to avoid potential
+# mismatches between results of yum update and the package dependency
+# installation itself
+RUN echo [[REVISION]]
+
+RUN yum -y update
 RUN yum -y groupinstall "X Window System"
 RUN yum -y install wget
 ADD output/SonicVisualiser-[[REVISION]]-x86_64.AppImage SV.AppImage