We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e284527 commit aa70ca5Copy full SHA for aa70ca5
jote/compose.py
@@ -16,6 +16,7 @@
16
services:
17
job:
18
image: {image}
19
+ user: '{uid}:{gid}'
20
command: {command}
21
working_dir: {working_directory}
22
environment:
@@ -115,6 +116,8 @@ def create(self) -> str:
115
116
# Write the Docker compose content to a file to the test directory
117
variables: Dict[str, str] = {'test_path': project_path,
118
'image': self._image,
119
+ 'uid': os.geteuid(),
120
+ 'gid': os.getegid(),
121
'command': self._command,
122
'project_directory': self._project_directory,
123
'working_directory': self._working_directory,
0 commit comments