comparison deploy/linux/build-and-test-deb.sh @ 2206:252c7c8a1a37 rubberband-static

Merge from default branch
author Chris Cannam
date Thu, 31 Jan 2019 10:32:45 +0000
parents 3a4202cae7fe
children 6845d7dafebf
comparison
equal deleted inserted replaced
2129:02f15fb8ec68 2206:252c7c8a1a37
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
31 cp ~/.ssh/id_dsa_build "$dockerdir"/id_dsa_build
32 chmod 600 "$dockerdir"/known_hosts "$dockerdir"/id_dsa_build
33 trap "rm $dockerdir/known_hosts $dockerdir/id_dsa_build" 0
34
30 dockertag="cannam/sonic-visualiser-deb-$current" 35 dockertag="cannam/sonic-visualiser-deb-$current"
31 36
32 sudo docker build -t "$dockertag" -f "$dockerdir"/Dockerfile_deb.gen "$dockerdir" 37 sudo docker build -t "$dockertag" -f "$dockerdir"/Dockerfile_deb.gen "$dockerdir"
33 38
34 outdir="$dockerdir/output" 39 outdir="$dockerdir/output"