Skip to content

feat: Support UID/GID when copying files#1531

Merged
HofmeisterAn merged 6 commits intodevelopfrom
feature/support-uid-gid-copying-files
Sep 20, 2025
Merged

feat: Support UID/GID when copying files#1531
HofmeisterAn merged 6 commits intodevelopfrom
feature/support-uid-gid-copying-files

Conversation

@HofmeisterAn
Copy link
Collaborator

What does this PR do?

This PR extends the CopyAsync(...) and WithResourceMapping(...) APIs by adding optional arguments to specify the UID and GID. Previously, these APIs didn't allow specifying the UID and GID, which made it harder for developers to copy files into the container with the correct owner and group.

Why is it important?

In some cases, this forced developers to use higher file permissions so that configuration files could be read or scripts executed.

Related issues

@HofmeisterAn HofmeisterAn added enhancement New feature or request breaking change Causing compatibility issues labels Sep 20, 2025
@netlify
Copy link

netlify bot commented Sep 20, 2025

Deploy Preview for testcontainers-dotnet ready!

Name Link
🔨 Latest commit 99ff401
🔍 Latest deploy log https://app.netlify.com/projects/testcontainers-dotnet/deploys/68ceacf7eb21400008b21c68
😎 Deploy Preview https://deploy-preview-1531--testcontainers-dotnet.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@HofmeisterAn HofmeisterAn changed the title Feature/support uid gid copying files feat: Support UID/GID when copying files Sep 20, 2025
@HofmeisterAn HofmeisterAn merged commit c27a94b into develop Sep 20, 2025
137 checks passed
@HofmeisterAn HofmeisterAn deleted the feature/support-uid-gid-copying-files branch September 20, 2025 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Causing compatibility issues enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Enhancement]: Support custom user

1 participant