Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@pji2918
Copy link
Contributor

@pji2918 pji2918 commented Dec 19, 2025

(sorry for my bad english)

What?

Change /examples/with-docker/Dockerfile.bun to use group/useradd instead of addgroup/user.

Why?

Currently, the docker build command results in an error
/bin/sh: 1: addgroup: not found.
(related issue: oven-sh/bun#25441)

How?

I changed the addgroup/user command to user/groupadd as a workaround. #

fixes #87722.

@nextjs-bot nextjs-bot added the examples Issue was opened via the examples template. label Dec 19, 2025
@nextjs-bot
Copy link
Collaborator

nextjs-bot commented Dec 19, 2025

Allow CI Workflow Run

  • approve CI run for commit: 4089a12

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

@andreifilip123
Copy link

getting the same error. the fix provided works for me

@icyJoseph icyJoseph merged commit 2446efe into vercel:canary Dec 23, 2025
63 checks passed
@pji2918 pji2918 deleted the fix-bun-dockerfile branch December 23, 2025 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

examples Issue was opened via the examples template.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: Dockerfile.bun no longer builds.

4 participants