Using docker to build a docker image containing the Ubuntu 22.04 OS (with gcloud and kubectl).
275
Using docker to build a docker image containing the Ubuntu 22.04 OS (with gcloud and kubectl).
build-push.sh contains,
DOCKER_BUILDKIT=0 docker build -t jeffdecola/gcloud-kubectl .
docker push jeffdecola/gcloud-kubectl
Obviously, you will have to edit and create an account at dockerhub.
To run on your machine, I suggest,
docker pull jeffdecola/gcloud-kubectl
docker run --name gcloud-kubectl -dit jeffdecola/gcloud-kubectl
To bash shell into the container and check versions,
docker exec -i -t gcloud-kubectl /bin/bash
lsb_release -a
gcloud version
gcloud components list --show-versions
To see the output,
docker logs -f gcloud-kubectl
Content type
Image
Digest
sha256:3525f8df5…
Size
816.1 MB
Last updated
over 3 years ago
docker pull jeffdecola/gcloud-kubectl