Skip to content

Seed the SSH user drukbox names in the local sandbox entrypoint - #54

Merged
czpython merged 1 commit into
mainfrom
seed-ssh-user
Sep 22, 2026
Merged

czpython merged 1 commit into
mainfrom
seed-ssh-user

Conversation

@czpython

Copy link
Copy Markdown
Owner

The docker provider passes DOCKER_SSH_USERNAME into the container as DRUKBOX_SSH_USER, a reserved key beside DRUKBOX_AUTHORIZED_KEY. The local sandbox entrypoint seeds that user's authorized_keys, root by default. A user the image does not have fails the boot with a message. A derived image that adds its own user sets DOCKER_SSH_USERNAME and keeps the stock entrypoint. The api-tests job boots such an image and checks the seeded key.

@czpython
czpython merged commit 1d749e5 into main Sep 22, 2026
6 checks passed
@czpython
czpython deleted the seed-ssh-user branch September 22, 2026 22:15
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