Skip to content

Commit 4971dd6

Browse files
committed
Bug fix for mounted paths for docker-in-docker.
1 parent 5bb63ae commit 4971dd6

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
@@ -19,6 +19,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1919

2020
### Fixed
2121

22+
- #898 - fix the path to the mount root with docker-in-docker if mounting volumes.
2223
- #897 - ensure `target.$(...)` config options override `build` ones when parsing strings and vecs.
2324
- #895 - convert filenames in docker tags to ASCII lowercase and ignore invalid characters
2425
- #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)