fix(devcontainer): create ubuntu user missing from AlmaLinux base image#785
Closed
Copilot wants to merge 2 commits into
Closed
fix(devcontainer): create ubuntu user missing from AlmaLinux base image#785Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
Agent-Logs-Url: https://github.com/esmini/esmini/sessions/85f579b1-1598-41e5-8556-5d549594db4f Co-authored-by: eknabevcc <29146839+eknabevcc@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Review pull request for unexpected side effects
fix(devcontainer): create ubuntu user missing from AlmaLinux base image
Mar 29, 2026
jdsika
added a commit
to jdsika/esmini
that referenced
this pull request
Mar 31, 2026
The base image (ghcr.io/bounverif/esmini:latest-devel, AlmaLinux 8.10) does not contain an 'ubuntu' user, causing Dev Containers to fail with: Error: unable to find user ubuntu: no matching entries in passwd file Add a Dockerfile that extends the base image and creates the ubuntu user (UID/GID 1000) with getent guards for idempotency. Update devcontainer.json to use build.dockerfile instead of direct image reference. Supersedes: esmini#783, esmini#785 Signed-off-by: jdsika <carlo.van-driesten@bmw.de>
jdsika
added a commit
to jdsika/esmini
that referenced
this pull request
Mar 31, 2026
The base image (ghcr.io/bounverif/esmini:latest-devel, AlmaLinux 8.10) does not contain an 'ubuntu' user, causing Dev Containers to fail with: Error: unable to find user ubuntu: no matching entries in passwd file Add a Dockerfile that extends the base image and creates the ubuntu user (UID/GID 1000) with getent guards for idempotency. Update devcontainer.json to use build.dockerfile instead of direct image reference. Supersedes: esmini#783, esmini#785 Signed-off-by: jdsika <carlo.van-driesten@bmw.de>
jdsika
added a commit
to jdsika/esmini
that referenced
this pull request
Mar 31, 2026
The base image (ghcr.io/bounverif/esmini:latest-devel, AlmaLinux 8.10) does not contain an 'ubuntu' user, causing Dev Containers to fail with: Error: unable to find user ubuntu: no matching entries in passwd file Add a Dockerfile that extends the base image and creates the ubuntu user (UID/GID 1000) with getent guards for idempotency. Update devcontainer.json to use build.dockerfile instead of direct image reference. Supersedes: esmini#783, esmini#785 Signed-off-by: jdsika <carlo.van-driesten@bmw.de>
eknabevcc
pushed a commit
that referenced
this pull request
Mar 31, 2026
The base image (ghcr.io/bounverif/esmini:latest-devel, AlmaLinux 8.10) does not contain an 'ubuntu' user, causing Dev Containers to fail with: Error: unable to find user ubuntu: no matching entries in passwd file Add a Dockerfile that extends the base image and creates the ubuntu user (UID/GID 1000) with getent guards for idempotency. Update devcontainer.json to use build.dockerfile instead of direct image reference. Supersedes: #783, #785 Signed-off-by: jdsika <carlo.van-driesten@bmw.de>
Contributor
|
PR may be closed |
Collaborator
|
Solved by #783 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
devcontainer.jsonsetsremoteUser: ubuntubut the base image (ghcr.io/bounverif/esmini:latest-devel, AlmaLinux 8.10) ships noubuntuuser, causing Dev Containers to fail immediately on all platforms.Changes
.devcontainer/Dockerfile— new; extends base image and createsubuntu(UID/GID 1000), usinggetentguards to skip creation if those IDs are already taken:.devcontainer/devcontainer.json— replaces directimagereference withbuild.dockerfilepointing at the new Dockerfile.The
getentchecks make the build idempotent and safe against base images that may already occupy GID/UID 1000 — an edge case the original PR #783 did not handle.📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.