1
0
mirror of https://github.com/rancher/os.git synced 2025-06-22 13:07:04 +00:00
os/scripts/build-extra-images
2015-02-22 20:59:44 -07:00

15 lines
258 B
Bash
Executable File

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