diff deploy/linux/build-and-test-appimage.sh @ 705:b93d662a12df

Load up appimage builder
author Chris Cannam
date Wed, 12 Dec 2018 10:36:06 +0000
parents 0720152d1914
children
line wrap: on
line diff
--- a/deploy/linux/build-and-test-appimage.sh	Wed Dec 12 10:31:13 2018 +0000
+++ b/deploy/linux/build-and-test-appimage.sh	Wed Dec 12 10:36:06 2018 +0000
@@ -11,6 +11,11 @@
     *);;
 esac
 
+if [ ! -x ./appimagetool-x86_64.AppImage ]; then
+    echo "Failed to find executable ./appimagetool-x86_64.AppImage, please provide that first"
+    exit 2
+fi
+
 echo
 echo "Building appimage from revision $current..."
 
@@ -29,6 +34,8 @@
 chmod 600 "$dockerdir"/known_hosts "$dockerdir"/id_dsa_build
 trap "rm $dockerdir/known_hosts $dockerdir/id_dsa_build" 0
 
+cp appimagetool-x86_64.AppImage "$dockerdir/"
+
 dockertag="cannam/easymercurial-appimage-$current"
 
 sudo docker build -t "$dockertag" -f "$dockerdir"/Dockerfile_appimage.gen "$dockerdir"