temporalio / temporalio/temporal

Use "nobody" account to run binaries in the docker

Open
#1,895 5 comments 0 reactions 3 assignees View on GitHub

@dnr is already working on this.

Since Sep 10, 2021.

  • #1814 by @sagardeo2105 — merged
enhancement
Dominant language
Go
Stars
23.2k
Forks
1.9k
Avg merge
2d 8h
Merged PRs (30d)
228

Description

Is your feature request related to a problem? Please describe.
The linked PR is intended to allow temporal to run in Docker as a non-root user.

Describe the solution you'd like
Looking at the changes, it appears that uid 1000 and gid 1000 were used for the temporal user id and group id. Under some implementations of Docker, the user is required to supply their own uid:gid to run the container, which may conflict with the 1000:1000 chosen. May I suggest using the “nobody” user to run temporal under?

Additional context
Docker implementations that require uid:gid to be passed as arguments as part of a non-root runtime environment.

Contributor guide

Open the contributing guide

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.