Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why does the container have google-cloud-sdk in it? #23

Closed
intendo opened this issue Apr 13, 2022 · 4 comments
Closed

Why does the container have google-cloud-sdk in it? #23

intendo opened this issue Apr 13, 2022 · 4 comments

Comments

@intendo
Copy link

intendo commented Apr 13, 2022

I can't see why the google-cloud-sdk is in the container.
It is over half the size of the image.
The google-cloud-sdk is over 880 Megabytes.

@azat-badretdin
Copy link

Thank you for your report, Darren! Would you mind illustrating that? Thanks!

@intendo
Copy link
Author

intendo commented Apr 13, 2022

Add the following to the main Dockerfile to remove 880 Megabytes of disk space:
RUN rm -rf /usr/share/google-cloud-sdk /usr/lib/google-cloud-sdk

@azat-badretdin
Copy link

Thank you, Darren.

We will investigate why do we have this in our image.

@christiam
Copy link
Contributor

I can't see why the google-cloud-sdk is in the container.

gsutil is needed in when downloading BLAST databases from GCP whenever Requester Pays is enabled on a bucket.
In BLAST+ 2.16.0 we have made efforts to reduce the size of the ncbi/blast docker image; this led to about a 50% reduction in size: https://hub.docker.com/r/ncbi/blast/tags

The google-cloud-sdk is over 880 Megabytes.

This is a known issue: GoogleCloudPlatform/gsutil#1732

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

No branches or pull requests

3 participants