This commit is contained in:
Christof Marti 2023-10-04 20:16:36 +02:00
parent f95a56336e
commit 1fbca59042
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -1,6 +1,4 @@
#!/bin/sh
echo 'export DISPLAY="${DISPLAY:-:1}"' | tee -a ~/.bashrc >> ~/.zshrc
yarn install --network-timeout 180000
yarn electron