[BUG] Docker build outputting root:root directory/file permissions
@kay-schecker ya está trabajando en esto.
Desde el 3/6/2022.
- #654 de @adnbrownie — cerrado sin fusionar
Evaluación
Este issue todavía no se ha evaluado.
Descripción
⚠️ 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)
- Lenguaje dominante
- TypeScript
- Estrellas
- 2k
- Forks
- 209
- Merge medio
- 9 h 35 min
- PR fusionados (30 d)
- 3
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de OpenAPITools/openapi-generator-cli
-
[FEATURE] consider using caret ranges instead of pinned exact versions for runtime dependenciesAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
[BUG] JAVA_OPTS is incorrectly evaluatedQuizá libre de nuevo @kay-schecker la tomó hace 126 días y no hay ningún pull request abierto. Abiertobug
OpenAPITools/openapi-generator-cli#1213 · 1 asignado ·
-
[BUG] Proxy configuration of NPM not used when downloading .jar via version managerQuizá libre de nuevo @kay-schecker la tomó hace 181 días y no hay ningún pull request abierto. Abiertobug
OpenAPITools/openapi-generator-cli#1190 · 1 asignado ·
-
[BUG] openapiGeneratorIgnoreList is missing from schemaQuizá libre de nuevo @kay-schecker la tomó hace 231 días y no hay ningún pull request abierto. Abiertobug
OpenAPITools/openapi-generator-cli#1138 · 1 comentario · 1 asignado ·
-
[BUG] Environment variable not found (missing .env loading)Quizá libre de nuevo @kay-schecker la tomó hace 270 días y no hay ningún pull request abierto. Abiertobug
OpenAPITools/openapi-generator-cli#1094 · 1 comentario · 1 asignado ·
Todos los issues de OpenAPITools/openapi-generator-cli
Issues similares
-
Dificultad 2/5 Menos de una hora Aptitud para principiantes 85/100
capricorn86/happy-dom#2474 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
JSerwatka/letterboxd-tweaks#81 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
siyuan-note/siyuan#20165 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
polkadot-js/phishing#5716 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
juice-shop/juice-shop#3662 ·
Los mantenedores suelen responder en 1 día