Skip to content

feat(docker): customization of installed packages#122

Open
alexjsp wants to merge 1 commit into
ncarlier:masterfrom
alexjsp:master
Open

feat(docker): customization of installed packages#122
alexjsp wants to merge 1 commit into
ncarlier:masterfrom
alexjsp:master

Conversation

@alexjsp

@alexjsp alexjsp commented Jun 22, 2026

Copy link
Copy Markdown

Adds a new Docker env var: WHD_EXTRA_PACKAGES that when set installs those packages with apk on container launch.

This allows users to add the packages their scripts require (ruby, or gh-cli, or whatever) without having to fork the image, or add pre-installation sections to all of their scripts. I think this is a better solution to problems like this one.

This did require changing the entrypoint script to initially run as root so it is able to install the packages with apk, the script then permanently drops to the unprivileged webhookd user before running the rest of the script and starting the server. (I believe this is the common approach used when an entrypoint needs to begin as root but does not want the whole docker running as root)

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