Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 799740d

Browse files
committed
Install chrome in codespaces via Dockerfile rather than use node-chromium package
* cribbed from github/auto-complete-element#88
1 parent 4719f8c commit 799740d

File tree

4 files changed

+4835
-446
lines changed

4 files changed

+4835
-446
lines changed

.devcontainer/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,7 @@ FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT}
1414

1515
# [Optional] Uncomment if you want to install more global node modules
1616
# RUN su node -c "npm install -g <your-package-list-here>"
17+
18+
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
19+
&& echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list
20+
RUN apt-get update && apt-get -y install google-chrome-stable

0 commit comments

Comments
 (0)