blob: c39e2f5eaa245ffe91e28803096f57d35f2dd999 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
set -e
trap cleanup_exit INT TERM EXIT
cleanup_exit()
{
rm -f linaro.list linarorepo.key
}
export LANG=C
DISTRIBUTION=$(basename ${PWD} | cut -f1 -d '-')
cp -a ../${DISTRIBUTION}.list linaro.list
cp -a ../linarorepo.key .
docker build --tag=linaro/$(basename ${PWD}) .
|