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.
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.