Skip to content

Conversation

@bedla
Copy link
Contributor

@bedla bedla commented Jan 18, 2020

Hi,
I found that when I use . or .. as mountable-file with host path to regular path docker is unable to use this files during build (they actually are transferred to docker in TAR payload).
As you can see I have created PR to check if host path is file and name is "invalid" to throw exception. I found this glitch when I was assuming that withFileFromFile(".", new File("path/to/file.txt")) will safe file to "current" working directory . with name file.txt or in path ./path/to/file.txt.
Please check PR if it makes sense.
Thx
Ivos

@bedla bedla force-pushed the check-transferable-names branch from cac196e to 1ce9a4c Compare February 23, 2020 10:11
@bedla bedla force-pushed the check-transferable-names branch 2 times, most recently from 33017e7 to cfb6086 Compare April 19, 2020 15:28
@bedla bedla force-pushed the check-transferable-names branch from 2aeecf1 to 6727a9a Compare April 21, 2020 06:44
@stale
Copy link

stale bot commented Jul 20, 2020

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.

@stale stale bot added the stale label Jul 20, 2020
@stale
Copy link

stale bot commented Aug 3, 2020

This issue has been automatically closed due to inactivity. We apologise if this is still an active problem for you, and would ask you to re-open the issue if this is the case.

@stale stale bot closed this Aug 3, 2020
@bedla
Copy link
Contributor Author

bedla commented Mar 19, 2021

I have rebased PR to current master.

@bedla
Copy link
Contributor Author

bedla commented Mar 19, 2021

new PR here #3895

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants