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

feat: copy files to the container and create directories as needed upon request #2049

Merged
merged 2 commits into from
Jan 11, 2024

Conversation

stillya
Copy link
Contributor

@stillya stillya commented Dec 24, 2023

What does this PR do?

It adds the ability to create directories as needed upon request when a copy file request has a directory that doesn't exist, similar to how the Testcontainers Java implementation behaves.

Why is it important?

Because, in many containers, to customize or import something, you may need a directory that doesn't exist in the image.

Related issues

@stillya stillya requested a review from a team as a code owner December 24, 2023 20:34
Copy link

netlify bot commented Dec 24, 2023

Deploy Preview for testcontainers-go ready!

Name Link
🔨 Latest commit 50569c4
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-go/deploys/65a00c2ee2060900085487f4
😎 Deploy Preview https://deploy-preview-2049--testcontainers-go.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 site configuration.

docker.go Show resolved Hide resolved
@mdelapenya mdelapenya self-assigned this Jan 11, 2024
@mdelapenya mdelapenya added the enhancement New feature or request label Jan 11, 2024
Copy link
Member

@mdelapenya mdelapenya left a comment

Choose a reason for hiding this comment

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

@stillya this LGTM, thanks for your contribution, and for doing a research on how Java does the same.

👍

@mdelapenya mdelapenya merged commit dafcefe into testcontainers:main Jan 11, 2024
116 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement]: Copy Files To Container - create directories upon request
2 participants