aboutsummaryrefslogtreecommitdiff
path: root/xenial-amd64-tcwg-dev/build.sh
blob: 40e5950f1e9338b04302e8e824060c5be85c4e67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

set -e

trap cleanup_exit INT TERM EXIT

cleanup_exit()
{
    :
}

export LANG=C
distro=$(basename ${PWD} | cut -f1 -d '-')
arch=$(basename ${PWD} | cut -f2 -d '-')
name=$(basename ${PWD} | cut -f3- -d '-')

docker build --pull --tag=linaro/dev-${arch}-${name}-ubuntu:${distro} .