Skip to content

Build the browser template on any docker base image - #924

Merged
czpython merged 1 commit into
mainfrom
worktree-issue-887
Oct 14, 2026
Merged

czpython merged 1 commit into
mainfrom
worktree-issue-887

Conversation

@czpython

Copy link
Copy Markdown
Owner

Closes #887.

Drukbox builds browser.sh on the default image of its docker provider, and the deployment sets that image. A compose install leaves drukbox's stock image there, with no Node and no druks user. A deployment can also set the sandbox image, which has both. browser.sh expected the sandbox image, so the browser template failed on every compose install.

  • browser.sh installs Node 22 from nodesource and adds the druks user again. Both steps also pass on the sandbox image: gpg --yes overwrites the nodesource keyring, and useradd runs only when the user is missing.
  • The browser PR check builds browser.sh on both images.

Drukbox builds browser.sh on the default image of its docker provider, and
the deployment sets that image. A compose install leaves drukbox's stock
image there, which has no Node and no druks user, so npm install exited 127.
A deployment can also set the sandbox image, which has both.

browser.sh installs Node 22 from nodesource and adds the druks user again.
Both steps also pass on the sandbox image: gpg overwrites the nodesource
keyring, and useradd runs only when the user is missing. The browser PR
check builds browser.sh on both images.
@czpython
czpython merged commit 2536a6a into main Oct 14, 2026
8 checks passed
@czpython
czpython deleted the worktree-issue-887 branch October 14, 2026 17:34
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.

Browser template builds on drukbox's stock docker image on non-docker providers

1 participant