-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
developmentStandard developmentStandard development
Description
Specification
Following #399 We've reduced the size of the docker image to less that the previous size. But digging deeper into the image we found that there are extra nix store paths that are being included which may not need to be there. Mainly there is the inclusion of the polykey-cli so there is at munimum, 42MB that doesn't need to be included.
The nix store seems to be determined by the nix dependencies of the derivation being copied to the docker image. When testing I saw that these are included after the contents are copied to root. So its not possible to remove the nix dependencies using an extra build script.
Additional context
- Contunuation from Reduce size of docker image build output (after ESM Migration) #399
Tasks
- Identify why
polykey-cliis being included in the nix store paths of the docker image. - Ensure that only runtime dependencies are included in the docker image.
- Apply the fix.
Metadata
Metadata
Assignees
Labels
developmentStandard developmentStandard development
