Skip to content

Update devcontainer Dockerfile for additional use on namespace devboxes - #5165

Merged
graydon merged 1 commit into
stellar:masterfrom
graydon:namespace-devcontainer
Mar 17, 2026
Merged

graydon merged 1 commit into
stellar:masterfrom
graydon:namespace-devcontainer

Conversation

@graydon

@graydon graydon commented Mar 7, 2026

Copy link
Copy Markdown
Contributor

This just updates the .devcontainer/Dockerfile to make it more appropriate to reuse as an image base for namespace devboxes (including some more packages, moving stuff out of the devcontainer control file, renaming the user, etc.)

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the devcontainer configuration to be reusable as a base image for “namespace devboxes”, primarily by standardizing on a dev non-root user and moving toolchain setup into the Docker image build.

Changes:

  • Switch devcontainer runtime user from vscode to dev and set remoteUser.
  • Update Dockerfile to create dev user by default and install Rust toolchain plus additional CLI tooling.
  • Add various Rust components/targets and cargo-installed developer utilities into the image.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.

File Description
.devcontainer/devcontainer.json Switches runtime user configuration to dev.
.devcontainer/Dockerfile Renames default user to dev and installs Rust/tooling directly into the image.

Comment thread .devcontainer/Dockerfile Resolved
Comment thread .devcontainer/Dockerfile Resolved
Comment thread .devcontainer/Dockerfile Resolved
Comment thread .devcontainer/Dockerfile Resolved
Comment thread .devcontainer/devcontainer.json Resolved
@graydon
graydon force-pushed the namespace-devcontainer branch 2 times, most recently from 889bfc5 to 9eee7d3 Compare March 11, 2026 19:59
@graydon
graydon enabled auto-merge March 17, 2026 03:25
leighmcculloch
leighmcculloch previously approved these changes Mar 17, 2026
@graydon
graydon added this pull request to the merge queue Mar 17, 2026
Comment thread .devcontainer/Dockerfile Resolved
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to Branch Protection failures Mar 17, 2026
You're not authorized to push to this branch. Visit "About protected branches" for more information.
@graydon
graydon added this pull request to the merge queue Mar 17, 2026
Merged via the queue into stellar:master with commit fbe7a46 Mar 17, 2026
52 of 55 checks passed
@graydon
graydon deleted the namespace-devcontainer branch March 17, 2026 10:42
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.

3 participants