Skip to content

Remove google-cloud-sdk package from docker image. - #2

Merged
ravisingal merged 1 commit into
masterfrom
remove-google-cloud-sdk
Jul 13, 2020
Merged

ravisingal merged 1 commit into
masterfrom
remove-google-cloud-sdk

Conversation

@ravisingal

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread Dockerfile
buildDeps='curl ca-certificates gnupg dirmngr apt-transport-https'; \
buildDeps='curl ca-certificates gnupg dirmngr'; \
apt-get update && apt-get install -y $runDeps $buildDeps --no-install-recommends; \
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list; \

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not even needed for SaaS, right?

@ravisingal ravisingal Jul 13, 2020 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is need for SaaS. will create a new image for the same. The image size is 726MB and is taking time to fetch it from docker hub. After removing this package, image size is reduced to 278MB.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. Interesting that it is needed for SaaS.

@ravisingal
ravisingal merged commit 64594be into master Jul 13, 2020
@ravisingal
ravisingal deleted the remove-google-cloud-sdk branch July 13, 2020 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants