From 1fbca59042e5304013f7507212b7579cab84a767 Mon Sep 17 00:00:00 2001 From: Christof Marti Date: Wed, 4 Oct 2023 20:16:36 +0200 Subject: [PATCH] Move to Dockerfile (microsoft/vscode-remote-release#8994) --- .devcontainer/Dockerfile | 1 + .devcontainer/post-create.sh | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 07caae2dd4060..31d67db5fac9f 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -8,6 +8,7 @@ RUN git config --system codespaces-theme.hide-status 1 USER node RUN npm install -g node-gyp RUN YARN_CACHE="$(yarn cache dir)" && rm -rf "$YARN_CACHE" && ln -s /vscode-dev/yarn-cache "$YARN_CACHE" +RUN echo 'export DISPLAY="${DISPLAY:-:1}"' | tee -a ~/.bashrc >> ~/.zshrc USER root CMD chown node:node /vscode-dev && sudo -u node mkdir -p /vscode-dev/yarn-cache && sleep inf diff --git a/.devcontainer/post-create.sh b/.devcontainer/post-create.sh index 9058cef80aa55..5b2deee667431 100755 --- a/.devcontainer/post-create.sh +++ b/.devcontainer/post-create.sh @@ -1,6 +1,4 @@ #!/bin/sh -echo 'export DISPLAY="${DISPLAY:-:1}"' | tee -a ~/.bashrc >> ~/.zshrc - yarn install --network-timeout 180000 yarn electron