Mercurial > hg > sonic-visualiser
comparison deploy/linux/build-and-test-appimage.sh @ 2353:6845d7dafebf sv_v4.0pre2
Bitbucket -> Sourcehut
author | Chris Cannam |
---|---|
date | Wed, 09 Oct 2019 15:17:57 +0100 |
parents | 3a4202cae7fe |
children |
comparison
equal
deleted
inserted
replaced
2352:bc4205d70e8b | 2353:6845d7dafebf |
---|---|
22 | 22 |
23 cat "$dockerdir"/Dockerfile_test_appimage.in | \ | 23 cat "$dockerdir"/Dockerfile_test_appimage.in | \ |
24 perl -p -e "s/\[\[REVISION\]\]/$current/g" > \ | 24 perl -p -e "s/\[\[REVISION\]\]/$current/g" > \ |
25 "$dockerdir"/Dockerfile_test_appimage.gen | 25 "$dockerdir"/Dockerfile_test_appimage.gen |
26 | 26 |
27 grep '^bitbucket.org' ~/.ssh/known_hosts > "$dockerdir"/known_hosts | 27 fgrep 'hg.sr.ht' ~/.ssh/known_hosts > "$dockerdir"/known_hosts |
28 cp ~/.ssh/id_dsa_build "$dockerdir"/id_dsa_build | 28 cp ~/.ssh/id_rsa_build "$dockerdir"/id_rsa_build |
29 chmod 600 "$dockerdir"/known_hosts "$dockerdir"/id_dsa_build | 29 chmod 600 "$dockerdir"/known_hosts "$dockerdir"/id_rsa_build |
30 trap "rm $dockerdir/known_hosts $dockerdir/id_dsa_build" 0 | 30 trap "rm $dockerdir/known_hosts $dockerdir/id_rsa_build" 0 |
31 | 31 |
32 dockertag="cannam/sonic-visualiser-appimage-$current" | 32 dockertag="cannam/sonic-visualiser-appimage-$current" |
33 | 33 |
34 sudo docker build -t "$dockertag" -f "$dockerdir"/Dockerfile_appimage.gen "$dockerdir" | 34 sudo docker build -t "$dockertag" -f "$dockerdir"/Dockerfile_appimage.gen "$dockerdir" |
35 | 35 |