devcontainers / devcontainers/cli

updateUID fails if user home directory was not created

Open
#109 1 comment 0 reactions 1 assignee Claimed by @chrmarti View on GitHub
bug
Dominant language
TypeScript
Stars
3k
Forks
457
Avg merge
13h 17m
Merged PRs (30d)
6

Description

As [best practice](https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#user), non-root users are created as system users without a home folder. `updateUID.Dockerfile` will fail when used with such images, because it tries to chown the non-existing home folder.

We could either skip chowning or create the home folder. The latter would be useful since vscode seems to use the remote user home folder for its own setup.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.