File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 34
34
DockerContainerCreationFailedException ,
35
35
PortAlreadyInUse ,
36
36
)
37
- from samcli .local .docker .utils import NoFreePortsError , find_free_port , to_posix_path
37
+ from samcli .local .docker .utils import NoFreePortsError , find_free_port
38
38
39
39
LOG = logging .getLogger (__name__ )
40
40
41
+
41
42
CONTAINER_CONNECTION_TIMEOUT = float (os .environ .get ("SAM_CLI_CONTAINER_CONNECTION_TIMEOUT" , 20 ))
42
43
DEFAULT_CONTAINER_HOST_INTERFACE = "127.0.0.1"
43
44
@@ -210,9 +211,6 @@ def create(self):
210
211
if self ._additional_volumes :
211
212
kwargs ["volumes" ].update (self ._additional_volumes )
212
213
213
- # Make sure all mounts are of posix path style.
214
- kwargs ["volumes" ] = {to_posix_path (host_dir ): mount for host_dir , mount in kwargs ["volumes" ].items ()}
215
-
216
214
if self ._env_vars :
217
215
kwargs ["environment" ] = self ._env_vars
218
216
You can’t perform that action at this time.
0 commit comments