From 58383c2ffc36c767ed1c9ec06562a45a64f0c243 Mon Sep 17 00:00:00 2001 From: sashadev-sky Date: Sat, 29 Aug 2020 01:06:56 -0400 Subject: [PATCH] dgsf --- .gitpod.dockerfile | 2 ++ .gitpod.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitpod.dockerfile b/.gitpod.dockerfile index 1170f9625..eb7f59708 100644 --- a/.gitpod.dockerfile +++ b/.gitpod.dockerfile @@ -1,6 +1,8 @@ FROM gitpod/workspace-full USER root +RUN CONFIG_USER_NS=y +RUN sudo sysctl kernel.unprivileged_userns_clone=1 RUN sudo apt-get update \ && sudo apt-get install -y \ libnss3-dev \ diff --git a/.gitpod.yml b/.gitpod.yml index 7f72e9a91..b087022b8 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,7 +1,7 @@ image: file: .gitpod.dockerfile tasks: - - before: cp -p chrome_sandbox /usr/local/sbin/chrome-devel-sandbox && export CHROME_DEVEL_SANDBOX=/usr/local/sbin/chrome-devel-sandbox + - before: export CHROME_DEVEL_SANDBOX=chrome_sandbox init: npm i && npm rebuild --build-from-source && npm run build command: npm run serve:dev ports: