Mercurial > hg > sonic-visualiser
comparison deploy/linux/build-and-test-deb.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 |
---|---|
25 cat "$dockerdir"/Dockerfile_test_deb.in | \ | 25 cat "$dockerdir"/Dockerfile_test_deb.in | \ |
26 perl -p -e "s/\[\[REVISION\]\]/$current/g" | \ | 26 perl -p -e "s/\[\[REVISION\]\]/$current/g" | \ |
27 perl -p -e "s/\[\[RELEASE\]\]/$release/g" > \ | 27 perl -p -e "s/\[\[RELEASE\]\]/$release/g" > \ |
28 "$dockerdir"/Dockerfile_test_deb.gen | 28 "$dockerdir"/Dockerfile_test_deb.gen |
29 | 29 |
30 grep '^bitbucket.org' ~/.ssh/known_hosts > "$dockerdir"/known_hosts | 30 fgrep 'hg.sr.ht' ~/.ssh/known_hosts > "$dockerdir"/known_hosts |
31 cp ~/.ssh/id_dsa_build "$dockerdir"/id_dsa_build | 31 cp ~/.ssh/id_rsa_build "$dockerdir"/id_rsa_build |
32 chmod 600 "$dockerdir"/known_hosts "$dockerdir"/id_dsa_build | 32 chmod 600 "$dockerdir"/known_hosts "$dockerdir"/id_rsa_build |
33 trap "rm $dockerdir/known_hosts $dockerdir/id_dsa_build" 0 | 33 trap "rm $dockerdir/known_hosts $dockerdir/id_rsa_build" 0 |
34 | 34 |
35 dockertag="cannam/sonic-visualiser-deb-$current" | 35 dockertag="cannam/sonic-visualiser-deb-$current" |
36 | 36 |
37 sudo docker build -t "$dockertag" -f "$dockerdir"/Dockerfile_deb.gen "$dockerdir" | 37 sudo docker build -t "$dockertag" -f "$dockerdir"/Dockerfile_deb.gen "$dockerdir" |
38 | 38 |