1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/bin/sh set -e trap cleanup_exit INT TERM EXIT cleanup_exit() { rm -rf tcwg-buildslave } export LANG=C rsync -a ../tcwg-buildslave/ ./tcwg-buildslave/ docker build --pull --tag=linaro/$(basename ${PWD}) .