Skip to content

Conversation

@sudo-bmitch
Copy link
Contributor

Fixes issue

Describe the change

Improve reproducibility in Dockerfiles:

  • Removes install of ca-certificates that could change the package version from the pinned image preinstalled version.
  • Run the base filesystem setup in the alpine image .
  • Move user creation out of the golang image except for explicit debugging.

How to verify it

Changelog text

  • Fix: Improve reproducibility in Dockerfiles.

Please verify and check that the pull request fulfills the following requirements

  • Tests have been added or not applicable
  • Documentation updates are included or not applicable (most documentation should be in the regclient.org repo)
  • Changes have been rebased to main
  • Multiple commits to the same code have been squashed
  • All changes have been human generated or created with a reproducible tool

- Removes install of ca-certificates that could change the package version from the pinned image preinstalled version.
- Run the base filesystem setup in the alpine image .
- Move user creation out of the golang image except for explicit debugging.

Signed-off-by: Brandon Mitchell <git@bmitch.net>
@sudo-bmitch sudo-bmitch merged commit 81df051 into regclient:main Nov 21, 2025
4 checks passed
@sudo-bmitch sudo-bmitch deleted the pr-dockerfile-base branch November 21, 2025 19:42
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.

1 participant