OpenAPITools / OpenAPITools/openapi-generator-cli
[BUG] Docker build outputting root:root directory/file permissions
@kay-schecker がすでに取り組んでいます。
2022年6月3日 から。
- 主要言語
- TypeScript
- スター
- 2k
- フォーク
- 208
- 平均マージ
- 7時間 12分
- マージ済み PR(30日)
- 6
説明
⚠️ 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)
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
評価
この issue はまだ評価されていません。