Skip to content

Commit 00c1de2

Browse files
Merge #898
898: Bug fix for mounted paths for docker-in-docker. r=Emilgardis a=Alexhuszagh Closes #893. Co-authored-by: Alex Huszagh <[email protected]>
2 parents 355a325 + 4971dd6 commit 00c1de2

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
2020

2121
### Fixed
2222

23+
- #898 - fix the path to the mount root with docker-in-docker if mounting volumes.
2324
- #897 - ensure `target.$(...)` config options override `build` ones when parsing strings and vecs.
2425
- #895 - convert filenames in docker tags to ASCII lowercase and ignore invalid characters
2526
- #885 - handle symlinks when using remote docker.

src/docker/shared.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,7 @@ impl Directories {
8989
}
9090
#[cfg(not(target_os = "windows"))]
9191
{
92-
mount_root = mount_finder
93-
.find_mount_path(host_root.clone())
94-
.to_utf8()?
95-
.to_string();
92+
mount_root = host_root.to_utf8()?.to_string();
9693
}
9794
let mount_cwd: String;
9895
#[cfg(target_os = "windows")]

0 commit comments

Comments
 (0)