OpenAPITools / OpenAPITools/openapi-generator-cli

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

Open
#716 3 comments 0 reactions 1 assignee View on GitHub

@kay-schecker is already working on this.

Since Nov 1, 2023.

bug
Dominant language
TypeScript
Stars
2k
Forks
208
Avg merge
7h 12m
Merged PRs (30d)
6

Description

⚠️ 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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.