Skip to content

Conversation

@luoyuxia
Copy link
Contributor

@luoyuxia luoyuxia commented Oct 13, 2025

Purpose

Fix the exception when build with docker image:

Step 3/12 : COPY --chown=fluss:fluss build-target/ /opt/fluss/
unable to convert uid/gid chown string to host mapping: can't find uid for user fluss: no such user: fluss

NOTE: Seems It only happens with colima, the offical docker still work

Brief change log

Create the user firstly.

Tests

API and Format

Documentation

@luoyuxia luoyuxia requested a review from Copilot October 13, 2025 02:52
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This hotfix addresses a Docker build exception where the COPY --chown=fluss:fluss command fails because the fluss user doesn't exist at that point in the build process.

  • Moves user and group creation before the COPY command that requires the user
  • Fixes the Docker build process by ensuring proper command ordering

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

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