mirror of
https://github.com/rancher/os.git
synced 2025-06-22 13:07:04 +00:00
14 lines
301 B
Bash
Executable File
14 lines
301 B
Bash
Executable File
#!/bin/bash
|
|
set -ex
|
|
|
|
cd $(dirname $0)/..
|
|
. 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
|
|
|
|
docker save `./ros c images -i os-config.yml` > ${BUILD}/images.tar
|