Skip to content

felipefrx/dockerfile_gcloud-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

Dockerfile gcloud-cli

Dockerfile with gcloud cli and ansible to upload a gke cluster.

Build image

cd ./dockerfile/
docker build -t gcloud-cli:0.0.1 -f Dockerfile.gcloud-cli .

If you want to reduce image size then install docker-slim.

curl -L -o ds.tar.gz https://downloads.dockerslim.com/releases/1.39.1/dist_linux.tar.gz
tar -xvf ds.tar.gz
mv  dist_linux/docker-slim /usr/local/bin/
mv  dist_linux/docker-slim-sensor /usr/local/bin/
docker-slim update

Build image again.

docker-slim build --target gcloud-cli:0.0.1 --http-probe=false

About

Dockerfile with the gcloud cli.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published