devcontainers / devcontainers/cli

updateUID fails if user home directory was not created

Đang mở
#109 1 bình luận 0 reaction 1 người được giao Được @chrmarti nhận Xem trên GitHub
bug
Ngôn ngữ chính
TypeScript
Star
3k
Fork
457
Merge trung bình
13 giờ 17 phút
Pull request đã merge (30 ngày)
6

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.