mirror of
https://github.com/rancher/os.git
synced 2025-06-23 21:47:03 +00:00
13 lines
284 B
Bash
Executable File
13 lines
284 B
Bash
Executable File
#!/bin/bash
|
|
set -ex
|
|
|
|
cd $(dirname $0)/..
|
|
. scripts/build-common
|
|
|
|
images="$(build/host_ros c images -i build/os-config.yml)"
|
|
for i in ${images}; do
|
|
[ "${FORCE_PULL}" != "1" ] && docker inspect $i >/dev/null 2>&1 || docker pull $i;
|
|
done
|
|
|
|
docker save ${images} > ${BUILD}/images.tar
|