OpenAPITools / OpenAPITools/openapi-generator-cli

[BUG] useDocker is not passing the user and group when running through the passthrough service

Abierto
#716 3 comentarios 0 reacciones 1 asignado Ver en GitHub

@kay-schecker ya está trabajando en esto.

Desde el 1/11/2023.

bug
Lenguaje dominante
TypeScript
Estrellas
2k
Forks
208
Merge medio
7 h 12 min
PR fusionados (30 d)
6

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

#647 fixed the docker permissions for the generator.service. When executing the cli with options that use the passthrough.service instead, the docker user and group is not set, resulting in root:root permissions

Steps to Reproduce

Steps to reproduce the behavior:

  1. Run a generate command that invokes the passthrough service while using the useDocker option
Expected behavior

When using the passthrough service, the user and group flags are passed to docker

Screenshots

If applicable, add screenshots to help explain your problem.

Operation System (please complete the following information):
  • OS: Arch / WSL
  • Version: 2023-10-31
Package System (please complete the following information):
  • Version [e.g. 22]
Additional context

Add any other context about the problem here.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.