-
Notifications
You must be signed in to change notification settings - Fork 49
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
Publish a new Docker image containing Chrome binary #185
Comments
@alallema, after #235 is merged, now we have an increase in the size of our Docker image: This is not ideal, but if we were straight to what this issue says, the job is not done yet 😅. Two choices:
What are your thoughts about that? |
@brunoocasali, I think it's better to keep this one open no? |
@alallema @brunoocasali At any rate it's gonna be great to find out the way to decrease the overall size of image. |
@brunoocasali @alallema
After building images that's a picture I got:
So, to come to conclusions:
What do you think about that? |
Hello @mdraevich! Thanks for working on this. Your thoughts are really helpful! My initial thought about reducing the image size was focused on splitting into two different images:
This brings extra complexity to managing because we will have to publish two images. Still, in my, POV is the best alternative since it helps people who don't need the chrome binary + people who need it without hurting the disk size from the first group. That said, I'm not sure if it is worth just removing the What do you think @alallema? |
Thank you so much @mdraevich for your research! @brunoocasali I agree with you, I'm not sure it worth it for now. Maybe we could close this issue in meantime don't you think ? |
Yeah, let's do it then. If somebody asks for a size compression, we can reopen this one. |
In order to solve the issue #139 for the Docker users, we will need to publish a new version of the base
Dockerfile
containing the Chrome binary.To accomplish this issue we need to:
getmeili/docs-scraper-with-chrome
After this addition, we will be able to instruct users to use this new image when they need it, and we will not impact the current users of the
getmeili/docs-scraper
image with a non-requested size addition.hint: we could base this new image in the algolia's image https://hub.docker.com/layers/algolia/docsearch-scraper/latest/ or in this comment #139 (comment)
The text was updated successfully, but these errors were encountered: