diff deploy/linux/docker/Dockerfile_test_appimage.in @ 371:a0ff34e9e86b

First cut at Linux AppImage
author Chris Cannam
date Fri, 05 Jun 2020 11:08:37 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/deploy/linux/docker/Dockerfile_test_appimage.in	Fri Jun 05 11:08:37 2020 +0100
@@ -0,0 +1,14 @@
+FROM centos:7
+
+# 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 install wget
+ADD output/SonicAnnotator-[[REVISION]]-x86_64.AppImage runner.AppImage
+RUN chmod +x runner.AppImage
+RUN ./runner.AppImage --appimage-extract
+RUN ./squashfs-root/AppRun --version