From ba1e4450b9f3663ea56bcfa89e250be4b7ba6e3b Mon Sep 17 00:00:00 2001 From: dan-nyanko Date: Tue, 29 Aug 2017 16:44:23 -0400 Subject: [PATCH] run pip commands in container as user '0' --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index de4b1a9d..d815a570 100644 --- a/index.js +++ b/index.js @@ -93,7 +93,7 @@ class ServerlessPythonRequirements { `${image}`, ]; if (process.platform === 'linux') - options.push('-u', `${process.getuid()}:${process.getgid()}`); + options.push('-u', '0'); options.push(...pipCmd); } else { cmd = pipCmd[0];