1
0
mirror of https://github.com/rancher/os.git synced 2025-06-23 05:27:03 +00:00
os/scripts/mk-images-tar.sh

14 lines
301 B
Bash
Raw Normal View History

#!/bin/bash
set -ex
cd $(dirname $0)/..
2015-08-07 14:34:05 +00:00
. scripts/build-common
ln -sf bin/rancheros ./ros
for i in `./ros c images -i os-config.yml`; do
[ "${FORCE_PULL}" != "1" ] && docker inspect $i >/dev/null 2>&1 || docker pull $i;
done
2015-08-06 07:04:46 +00:00
docker save `./ros c images -i os-config.yml` > ${BUILD}/images.tar