Skip to content

Make the container built smaller #39

@knikolla

Description

@knikolla

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions