atlassian/google-gke-kubectl-run:3.0.0
google-gke-kubectl-run:3.0.0-without-backup-folder <none> 61abf4e9da2d 20 seconds ago 2.08GBgoogle-gke-kubectl-run:3.0.0 <none> f637d02b9abb 7 minutes ago 2.81GB
After consulting Google's version of the docker file https://github.com/GoogleCloudPlatform/cloud-sdk-docker/blob/master/debian_component_based/DockerfileAnd comparing that with Atlassian's version: https://bitbucket.org/atlassian/google-gke-kubectl-run/src/master/Dockerfile I conclude that the Atlassian pipe google-gke-kubectl-run lacks this step.
- RUN ./google-cloud-sdk/install.sh --quiet
+ RUN ./google-cloud-sdk/install.sh --quiet && rm -rf /google-cloud-sdk/.install/.backup
> docker build -t docker build -t google-gke-kubectl-run:3.0.0 .
Modify line 27 as described and build:
> docker build -t google-gke-kubectl-run:3.0.0-without-backup-folder .
> docker imagesREPOSITORY TAG IMAGE ID CREATED SIZEgoogle-gke-kubectl-run 3.0.0-without-backup-folder 61abf4e9da2d 20 seconds ago 2.08GBgoogle-gke-kubectl-run 3.0.0 f637d02b9abb 7 minutes ago 2.81GB
@Tommo hi. New pipe version released with fixes you suggested.
Regards, Igor
@Tommo hi. Thanks for your investigation. We will fix this in a future releases and notify you.Regards, Igor
Looks good to me. Saved 193MB.
It looks like you're new here. Sign in or register to get started.