1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 14:48:55 +00:00
Files
os/scripts/build-extra-images

15 lines
258 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
>${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