(
command: DockerCommandBuilder,
agent_socket: &OsStr,
)
| 188 | } |
| 189 | |
| 190 | pub fn enable_forward_ssh_agent( |
| 191 | command: DockerCommandBuilder, |
| 192 | agent_socket: &OsStr, |
| 193 | ) -> DockerCommandBuilder { |
| 194 | debug!("Got SSH_AUTH_SOCK={agent_socket:?}"); |
| 195 | let dir = path::Path::new(agent_socket).to_path_buf(); |
| 196 | command |
| 197 | .add_environment("SSH_AUTH_SOCK", agent_socket) |
| 198 | .add_volume((&dir, &dir)) |
| 199 | } |
| 200 | |
| 201 | pub fn enable_docker_in_docker( |
| 202 | command: DockerCommandBuilder, |
no test coverage detected