-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Copy directory doesn't work with 'ImageFromDockerfile.withFileFromPath(...)' #285
Comments
Ouch - sorry. Let's try and solve this with #279, which gives us a good chance to clean up file/resource handling for good. |
Hi @tourea You can see an example here. I'll keep working on this and tidying up - if you really want to try it in the meantime you could use jitpack to obtain a branch build (https://jitpack.io/#testcontainers/testcontainers-java/285-recursive-tar-copy-SNAPSHOT should work) @bsideup FYI - this branch is too messy to deserve review yet. However, you might want to know that (so far) I had to make some fairly big changes to Richard |
This change is getting closer to being ready; I'd hope to get it released soon. Sorry for the long wait on this. |
The 'This change' link in your comment (https://github.com/testcontainers/testcontainers-java/issues/!313) doesn't work for me. This one does though. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe this is a mistake, please reply to this comment to keep it open. If there isn't one already, a PR to fix or at least reproduce the problem in a test case will always help us get back on track to tackle this. |
Support for this was added in #313 so I shall close. |
In my Dockerfile, I have something similar to:
COPY ./folder /path/to
, wherefolder
is a directory.When I try to start a generic container (using
ImageFromDockerfile
), I get an exception in ImageFromDockerfile:The text was updated successfully, but these errors were encountered: