-
Notifications
You must be signed in to change notification settings - Fork 0
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
Change: Use --no-install-recommends for Debian/Ubuntu to reduce image size. #64
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0.877 E: Command line option --no-install-recommends is not understood
This option doesn't seem to be available in Debian Etch (https://github.com/greenbone/vt-test-environments/actions/runs/11774762855/job/32793938334?pr=64).
The other 6 build errors are already tracked in https://jira.greenbone.net/browse/VTA-589 and seem to be caused by something Docker-internal.
Yes, noticed and already "on it" 👍
Yes, had included the reference in the PR description 👍 |
For the references, this is the difference in the installed packages for e.g. Debian trixie: Before
After
|
a7ee708
to
3ae76a8
Compare
3ae76a8
to
6fcfff5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
(All 6 failed image builds are caused due to VTA-589)
What
https://packages.debian.org/bookworm/openssh-server has various
rec
dependencies to e.g.xauth
which pulls in various (for us / our purposes) unnecessary X11 dependencies. After this change the image size got reduced from:to:
without any functional limitations.
Note: Ubuntu failures seems to be unrelated to this PR and might be related to VTA-589
Why
Reduce size of our images a little.
References
None
Checklist