You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to export a few different paths in a volume container built by the plugin by setting up the assembly with all the files I need and then trying to run commands using runCmds tag to move files into folder which I expose as volumes using the tag.
This does not seem to work as I get empty directories in the folders I exposed as volumes. I believe this has to do with the fact that the copy command happens after all volumes have been exposed
It's stated clearly in the Dockerile VOLUME documentation
Note: If any build steps change the data within the volume after it has been declared, those changes will be discarded.
Wouldn't it be better to export extra volumes after all runCmds have run?
The text was updated successfully, but these errors were encountered:
Wow, that was quick.
Awesome. I originally meant the bug report for the volumes tag but I
realise even the assembly tag created volume can probably be moved to the
end as well, keeping all volumes at the same place.
I am trying to export a few different paths in a volume container built by the plugin by setting up the assembly with all the files I need and then trying to run commands using runCmds tag to move files into folder which I expose as volumes using the tag.
This does not seem to work as I get empty directories in the folders I exposed as volumes. I believe this has to do with the fact that the copy command happens after all volumes have been exposed
It's stated clearly in the Dockerile VOLUME documentation
Wouldn't it be better to export extra volumes after all runCmds have run?
The text was updated successfully, but these errors were encountered: