Skip to content

Commit

Permalink
got the mount points reversed ...
Browse files Browse the repository at this point in the history
[ci skip-build-wheels]
  • Loading branch information
Tom Dyas committed Sep 16, 2022
1 parent f05ca25 commit bba085e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/rust/engine/process_execution/src/docker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -622,14 +622,14 @@ impl ContainerCache {
host_config: Some(bollard::service::HostConfig {
binds: Some(vec![
format!("{}:{}", work_dir_base, SANDBOX_BASE_PATH_IN_CONTAINER),
// DOCKER-TODO: Consider making this bind mount read-only.
format!(
"{}:{}",
named_caches_base_dir, IMMUTABLE_INPUTS_BASE_PATH_IN_CONTAINER
named_caches_base_dir, NAMED_CACHES_BASE_PATH_IN_CONTAINER,
),
// DOCKER-TODO: Consider making this bind mount read-only.
format!(
"{}:{}",
immutable_inputs_base_dir, NAMED_CACHES_BASE_PATH_IN_CONTAINER
immutable_inputs_base_dir, IMMUTABLE_INPUTS_BASE_PATH_IN_CONTAINER
),
]),
// The init process ensures that child processes are properly reaped.
Expand Down

0 comments on commit bba085e

Please sign in to comment.