Skip to content

pass the uid, username and gid, groupname as arguments when building devcontainer if updateRemoteUserUID is enabled. #5831

@scalavision

Description

@scalavision

Make it possible to extract uid,username and gid, groupname when building the Dockerfile, i.e. these
variables would be available:

ARG USERNAME=myuser
ARG GROUPNAME=users
ARG USER_UID=1000
ARG USER_GID=1000

If updateRemoteUserUID, is enabled.

It simplifies the ownership of internal folders and files to match the same as the user on the host system.

Metadata

Metadata

Assignees

Labels

containersIssue in vscode-remote containersfeature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions