Skip to content

build(docker): id command fails to lookup uid 100#1236

Merged
lklimek merged 2 commits into
v1.5-devfrom
fix/docker-id
Jan 27, 2026
Merged

build(docker): id command fails to lookup uid 100#1236
lklimek merged 2 commits into
v1.5-devfrom
fix/docker-id

Conversation

@lklimek
Copy link
Copy Markdown
Collaborator

@lklimek lklimek commented Jan 27, 2026

Issue being fixed or feature implemented

Before creating tmuser, we need to ensure user with id 100 does not exist.
We can't simply allocate new user id, as existing installs already have data owned by uid 100.

Unfortunately, id command fails to lookup the user with error:

id: unknown user 100

What was done?

replaced malfunctioning id -nu 100 with awk

How Has This Been Tested?

Local build with docker buildx build -f DOCKER/Dockerfile .

Green GHA: https://github.com/dashpay/tenderdash/actions/runs/21390972670

Breaking Changes

None

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jan 27, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@lklimek lklimek changed the title fix(docker): id command fails to lookup uid 100 build(docker): id command fails to lookup uid 100 Jan 27, 2026
@lklimek lklimek merged commit 4bfb72e into v1.5-dev Jan 27, 2026
17 checks passed
@lklimek lklimek deleted the fix/docker-id branch January 27, 2026 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant