Mercurial > hg > sonic-visualiser
comparison deploy/linux/build-and-test-appimage.sh @ 2116:f69819b5c248
Experimental Docker deb package build
author | Chris Cannam |
---|---|
date | Wed, 21 Nov 2018 11:25:43 +0000 |
parents | d7593016cad3 |
children | 3a4202cae7fe |
comparison
equal
deleted
inserted
replaced
2115:708ae77f5b78 | 2116:f69819b5c248 |
---|---|
31 outdir="$dockerdir/output" | 31 outdir="$dockerdir/output" |
32 mkdir -p "$outdir" | 32 mkdir -p "$outdir" |
33 | 33 |
34 container=$(sudo docker create "$dockertag") | 34 container=$(sudo docker create "$dockertag") |
35 | 35 |
36 sudo docker cp "$container":output.tar "$outdir" | 36 sudo docker cp "$container":output-appimage.tar "$outdir" |
37 sudo docker rm "$container" | 37 sudo docker rm "$container" |
38 | 38 |
39 ( cd "$outdir" ; tar xf output.tar && rm -f output.tar ) | 39 ( cd "$outdir" ; tar xf output-appimage.tar && rm -f output-appimage.tar ) |
40 | 40 |
41 sudo docker build -f "$dockerdir"/Dockerfile_test_appimage.gen "$dockerdir" | 41 sudo docker build -f "$dockerdir"/Dockerfile_test_appimage.gen "$dockerdir" |