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: