aboutsummaryrefslogtreecommitdiffstats
path: root/functest_kubernetes/ci/download_images.sh
blob: dfadb02420ab4c383354e96e8f09f9fe75cca436 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

set -e

DIR="$(cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd)"
for i in $(cat $DIR/images.txt); do
    sudo docker pull $i
    # https://kind.sigs.k8s.io/docs/user/quick-start/
    # Be free to use docker save && kind load image-archive
    kind load docker-image $i --name latest
done