File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 2323 environment:
2424 - DM_INSTANCE_DIRECTORY={instance_directory}
2525 volumes:
26+ - /var/run/docker.sock:/var/run/docker.sock
2627 - {test_path}:{project_directory}
2728 mem_limit: {memory_limit}
2829 cpus: {cpus}.0
3132# A default, 30 minute timeout
3233_DEFAULT_TEST_TIMEOUT : int = 30 * 60
3334
35+ # The user id containers will be started as
36+ _USER_ID : int = 8888
37+
3438
3539def _get_docker_compose_version () -> str :
3640
@@ -130,7 +134,7 @@ def create(self) -> str:
130134 'image' : self ._image ,
131135 'memory_limit' : self ._memory ,
132136 'cpus' : self ._cores ,
133- 'uid' : os . geteuid () ,
137+ 'uid' : _USER_ID ,
134138 'command' : self ._command ,
135139 'project_directory' : self ._project_directory ,
136140 'working_directory' : self ._working_directory ,
You can’t perform that action at this time.
0 commit comments