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
2015-08-06 00:05:25 -07:00

13 lines
278 B
Bash
Executable File

#!/bin/bash
set -ex
cd $(dirname $0)/..
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
docker save `./ros c images -i os-config.yml` > ${BUILD}/images.tar