10019004da
With this commit minikube is installed using contents of precreated minikube-aio image containing installation script, all required binaries and images inside. Pulling a single image from dockerhub via opendev dockerhub proxy and loading images allows to save up to 6 minutes in minikube installation. Change-Id: I5936f440eb0567b8dcba2fdae614e4c5e88a7b9a Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
10 lines
229 B
Bash
10 lines
229 B
Bash
#!/bin/bash
|
|
|
|
set -ex
|
|
cd /tmp
|
|
DIFF=$(diff loaded_images images_after_installation)
|
|
if [ ! -z ${DIFF} ]; then
|
|
echo -e "Looks like minikube-aio does not contain all images required for minikube installation:\n${DIFF}"
|
|
exit 1
|
|
fi
|