devcontainers / devcontainers/cli

updateUID fails if user home directory was not created

未关闭
#109 1 条评论 0 个 reaction 已指派 1 人 已被 @chrmarti 认领 在 GitHub 查看
bug
主要语言
TypeScript
星标
3k
派生
457
平均合并
13 小时 17 分钟
30 天内合并 PR
6

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。