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

16 lines
292 B
Bash
Executable File

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