1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 14:23:11 +00:00
Files
os/scripts/build-extra-images

16 lines
292 B
Plaintext
Raw Normal View History

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