1
0
mirror of https://github.com/rancher/os.git synced 2025-06-21 12:37:04 +00:00
os/scripts/build-extra-images

16 lines
292 B
Plaintext
Raw Normal View History

2015-02-23 03:59:26 +00:00
#!/bin/bash
set -e
cd $(dirname $0)/..
source scripts/build-common
source scripts/version
2015-02-23 03:59:26 +00:00
>${BUILD}/tags
for i in scripts/extraimages/[0-9]*; do
tag=$(echo $i | cut -f2 -d-):${VERSION}
2015-02-23 03:59:26 +00:00
echo Building $tag
docker build -t rancher/$tag -f $i .
echo $tag >> ${BUILD}/tags
done