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