1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 06:11:12 +00:00
Files
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 19:34:05 +05: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 00:04:46 -07:00
docker save `./ros c images -i os-config.yml` > ${BUILD}/images.tar