-
Notifications
You must be signed in to change notification settings - Fork 23
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
Base image based on Alpine #99
Comments
Hi @dragospopa420, I think that docker images are not part of this repo. You should probably raise an issue on this repo since if I understand everything correctly that is repository for docker images for apify. Source code of the image that you are referencing is here: https://github.com/apify/apify-actor-docker/tree/master/node-puppeteer-chrome |
Thanks, @dragospopa420. The image size is currently something we plan to look into. |
I was asking @vladfrangu to take a closer look last week. IIRC the reason why we use ubuntu was supporting chromium, rest of the browsers should be fine with debian? |
This image is using Alpine. |
Super sorry for the late response! The main image that (probably) can't use Alpine is WebKit (Safari). Its good to know that chromium works on alpine, but does chrome work on it too? 👀 |
I believe the main reason we use Debian in the base images is compatibility with user libraries. Debian uses I believe most of the size difference between the image produced by @dragospopa420's Dockerfile and what we have is down to other differences:
You can use the great |
Which package is the feature request for? If unsure which one to select, leave blank
@crawlee/core
Feature
The base image is based on Debian which has a much bigger fingerprint than the Alpine Linux.
So I was thinking maybe the included dockerfile can be based on Alpine Linux, for fast deployment and testing
The apify/actor-node-puppeteer-chrome has 2.53gb, my version has 698mb
Motivation
I'm building an infrastructure of spiders based on Crawlee and I wanted to have the fastest possible deployment time.
Ideal solution or implementation, and any additional constraints
Alternative solutions or implementations
No response
Other context
No response
The text was updated successfully, but these errors were encountered: