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

Make the container built smaller #39

Open
knikolla opened this issue Jul 16, 2024 · 0 comments
Open

Make the container built smaller #39

knikolla opened this issue Jul 16, 2024 · 0 comments
Assignees

Comments

@knikolla
Copy link
Contributor

Currently the container clocks at almost 4GB.

$ docker image ls
REPOSITORY                 TAG       IMAGE ID       CREATED        SIZE
ghcr.io/cci-moc/lsvd-rbd   main      09ca3c6519dd   12 days ago    3.82GB

Using multi stage builds, it is possible remove intermediary artifacts and compile-only dependencies from the final built image, significantly reducing the size.

@knikolla knikolla self-assigned this Sep 4, 2024
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