tar-images 293 B

1234567891011121314
  1. #!/bin/bash
  2. set -e
  3. cd $(dirname $0)/..
  4. IMAGES=$(bin/host_ros c images -i build/initrd/usr/share/ros/os-config.yml)
  5. for i in $IMAGES; do
  6. if [ "${FORCE_PULL}" = "1" ] || ! docker inspect $i >/dev/null 2>&1; then
  7. docker pull $i
  8. fi
  9. done
  10. docker save ${IMAGES} > build/images.tar