Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Canceled: Use numeric user and group in chown - See PR 94 #93

Closed
wants to merge 2 commits into from

Conversation

travisaustin
Copy link
Contributor

@travisaustin travisaustin commented Nov 26, 2024

Replaced with #94

Travis Austin added 2 commits November 26, 2024 06:06
When building multi-architecture images with buildx, named user identifiers cannot be supplied to --chown if --link is used. This commit changes the `COPY --link --chown=....` lines to use the numeric user id instead of the named user. Instead of calling `COPY --link --chown=octane:octane`, it will call `COPY --link --chown=1000:1000`. This change will allow builds to succeed even when using buildx.

See:
docker/buildx#1526
docker/docs#20660
docker/buildx#1526 (comment)
…. Start a container with environment variable RUNNING_MIGRATIONS=true to migrate, or set to RUNNING_MIGRATIONS_AND_SEEDERS=true to migrate and seed.
@travisaustin
Copy link
Contributor Author

Will reopen momentarily...

@travisaustin travisaustin changed the title Use numeric user and group in chown Canceled: Use numeric user and group in chown - See PR 94 Nov 26, 2024
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