OpenAPITools / OpenAPITools/openapi-generator-cli
[BUG] Docker build outputting root:root directory/file permissions
@kay-schecker đang làm issue này rồi.
Từ ngày 3/6/2022.
- Ngôn ngữ chính
- TypeScript
- Star
- 2k
- Fork
- 208
- Merge trung bình
- 7 giờ 12 phút
- Pull request đã merge (30 ngày)
- 6
Mô tả
⚠️ Important Notice
Please differentiate the bug
This repository is not responsible for the actual code generation. If you have problems with the code generation, please open the bug at OpenAPITools/openapi-generator.
Please also check if the bug is already known before you open a new bug.
🐛 Bug Report:
Describe the bug
Docker image generates directory/files with root:root permissions instead of the current user.
Steps to Reproduce
Steps to reproduce the behavior:
- Run the build using a docker image
Expected behavior
It generates the build using the current user and group.
Screenshots

Operation System (please complete the following information):
- OS: Ubuntu
Package System (please complete the following information):
- Version [e.g. 22]
Additional context
Probably needs an additional Docker parameter when running the build to specify the user and group. https://docs.docker.com/engine/reference/run/#user
docker run --user $(id -u):$(id -g)
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Đánh giá
Issue này chưa được đánh giá.