We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7757118 commit b5399b1Copy full SHA for b5399b1
index.js
@@ -69,7 +69,8 @@ class ServerlessPythonRequirements {
69
cmd = 'docker';
70
options = [
71
'run', '--rm',
72
- '-u', process.getuid() + ':' + process.getgid(),
+ '-u', (process.platform === 'win32' ? process.env.USERNAME
73
+ : `${process.getuid()}:${process.getgid()}`),
74
'-v', `${this.serverless.config.servicePath}:/var/task:z`,
75
`lambci/lambda:build-${runtime}`,
76
];
0 commit comments