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

Python Docker image bloated #288

Open
evictor opened this issue Feb 3, 2023 · 0 comments
Open

Python Docker image bloated #288

evictor opened this issue Feb 3, 2023 · 0 comments

Comments

@evictor
Copy link

evictor commented Feb 3, 2023

Looks like the Docker build hasn't been given a proper refactoring: https://github.com/worldveil/dejavu/blob/master/docker/python/Dockerfile. Noticed this when observing git existing inside a python container, which was unexpected. The DB image should be subject to the same treatment if it hasn't already been visited.

Patterns like multi-stage builds, build cache and other improvements from buildkit, and removal of intermediate or build-only kruft are optimizations that spring to mind.

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

1 participant