Skip to content

Reduce Container sizes#24

Merged
evgeni merged 3 commits intotheforeman:masterfrom
Odilhao:container-reduce-v2
Oct 4, 2024
Merged

Reduce Container sizes#24
evgeni merged 3 commits intotheforeman:masterfrom
Odilhao:container-reduce-v2

Conversation

@Odilhao
Copy link
Copy Markdown
Member

@Odilhao Odilhao commented Oct 4, 2024

Before adding --nodocs and dnf clean all

REPOSITORY              TAG         IMAGE ID      CREATED         SIZE
quay.io/ehelms/foreman  nightly     a20e228905bb  10 seconds ago  884 MB
quay.io/ehelms/foreman-proxy  nightly     2d3a73f1ded9  29 seconds ago  458 MB


After --nodocs`` and dnf clean all`

REPOSITORY              TAG             IMAGE ID      CREATED        SIZE
quay.io/ehelms/foreman  nightly-nodocs  ab9ff2fb57a0  5 seconds ago  774 MB
quay.io/ehelms/foreman-proxy  nightly-nodocs  dfe53a6f8f3c  12 minutes ago  351 MB

@Odilhao
Copy link
Copy Markdown
Member Author

Odilhao commented Oct 4, 2024

I was thinking about a way to have each plugin installed here https://github.com/ehelms/foreman-quadlet/blob/b19ae38891af8971da78ec80781a99b554d81ccd/container-images/foreman/Containerfile#L9 in it's own layer, this would make pull faster in the future when we add more plugins, I'm still not sure on how to do that.

@evgeni evgeni merged commit ebd186e into theforeman:master Oct 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

Successfully merging this pull request may close these issues.

2 participants