We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6abac22 + fad1301 commit 8389923Copy full SHA for 8389923
src/docker/custom.rs
@@ -128,6 +128,10 @@ impl<'a> Dockerfile<'a> {
128
}
129
130
131
+ // note that this is always relative to the PWD: if we have
132
+ // `$workspace_root/Dockerfile`, then running a build
133
+ // `PWD=$workspace_root/src/ cross build` would require
134
+ // the Dockerfile path to be specified as `../Dockerfile`.
135
docker_build.args(["--file".into(), path]);
136
137
if let Some(build_opts) = options.config.build_opts() {
0 commit comments