IMAGE_URL=https://download.cirros-cloud.net/0.6.2/cirros-0.6.2-x86_64-disk.img | |
if [[ ! -f jammy-server-cloudimg-amd64.img ]]; then | |
echo "Downloading image..." | |
wget $IMAGE_URL | |
fi | |
echo "Building image..." | |
docker build -t jumpojoy/kubevirt-cirros:0.6.2 . |