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

Use smaller docker base image #92

Open
john-theo opened this issue Jan 30, 2020 · 3 comments
Open

Use smaller docker base image #92

john-theo opened this issue Jan 30, 2020 · 3 comments
Labels
docker enhancement Improvement to existing feature or dev experience help wanted

Comments

@john-theo
Copy link

john-theo commented Jan 30, 2020

python:3.7 = 918M
python:3.7-slim = 179M

But uWSGI installation seems broken on python:3.7-slim, some tweaks still needed. Will be looking into it after the whole misago system runs properly on my machine.

Also, add custom sources for apt and pip may be a good idea : )

@john-theo
Copy link
Author

john-theo commented Jan 30, 2020

Sorry, didn't read the "Need help" section carefully, moving this to the forum and closing the issue...

@rafalp
Copy link
Owner

rafalp commented Jan 30, 2020

This is actualy valid thing to keep on our roadmap :)

@rafalp rafalp reopened this Jan 30, 2020
@rafalp rafalp added docker enhancement Improvement to existing feature or dev experience help wanted labels Jan 30, 2020
@rafalp
Copy link
Owner

rafalp commented May 25, 2023

Ideally Misago could have single Dockerfile that would build python and JS dependencies in full base image, then do smaller image that would only copy over final python (and in future node.js) envs.

This image would be used by misago and celery services (which currently built same image twice).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docker enhancement Improvement to existing feature or dev experience help wanted
Projects
None yet
Development

No branches or pull requests

2 participants