1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 14:48:55 +00:00

Refactor build scripts

This commit is contained in:
Darren Shepherd
2016-05-06 10:12:09 -07:00
parent acc2ee297a
commit ec410addb9
103 changed files with 1310 additions and 632 deletions

15
scripts/tar-images Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
set -e
cd $(dirname $0)/..
mkdir -p build
IMAGES=$(bin/host_ros c images -i build/os-config.yml)
for i in $IMAGES; do
if [ "${FORCE_PULL}" = "1" ] || ! docker inspect $i >/dev/null 2>&1; then
docker pull $i
fi
done
docker save ${IMAGES} > build/images.tar