Skip to content

Dockerfile: pass --no-install-recommends#18

Merged
davidfrantz merged 1 commit intodavidfrantz:mainfrom
pjonsson:docker-no-install-recommends
Mar 16, 2026
Merged

Dockerfile: pass --no-install-recommends#18
davidfrantz merged 1 commit intodavidfrantz:mainfrom
pjonsson:docker-no-install-recommends

Conversation

@pjonsson
Copy link
Copy Markdown
Contributor

@pjonsson pjonsson commented Feb 4, 2026

This image contains systemd and that
gobbles up UID/GIDs 996-999 which
are frequently used by CI runners
for both GitHub and Gitlab.

Pass --no-install-recommends to apt-get
so it stops installing systemd.

As a bonus, this also reduces the size
of the image by 119MB.

This image contains systemd and that
gobbles up UID/GIDs 996-999 which
are frequently used by CI runners
for both GitHub and Gitlab.

Pass --no-install-recommends to apt-get
so it stops installing systemd.

As a bonus, this also reduces the size
of the image by 119MB.
@pjonsson pjonsson force-pushed the docker-no-install-recommends branch from b7f25e2 to ba6d265 Compare February 23, 2026 13:51
@davidfrantz davidfrantz merged commit d3aeee0 into davidfrantz:main Mar 16, 2026
@pjonsson pjonsson deleted the docker-no-install-recommends branch March 16, 2026 11:46
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