Skip to content
This repository has been archived by the owner on Mar 31, 2020. It is now read-only.

Commit

Permalink
chore(gitpod): install Google Chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecrs committed Feb 13, 2020
1 parent 400c276 commit c5f070d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM gitpod/workspace-full
FROM gitpod/workspace-full-vnc

USER root

Expand All @@ -10,7 +10,14 @@ RUN set -ex; \
apt-get update; \
apt-get install -y libglu1-mesa

USER gitpod
USER gitpod

# Install Google Chrome
RUN set -ex; \
wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb; \
sudo apt-get install -yq ./google-chrome-stable_current_amd64.deb; \
rm google-chrome-stable_current_amd64.deb; \
sudo rm -rf /var/lib/apt/lists/*

RUN set -ex; \
mkdir ~/development; \
Expand Down
7 changes: 7 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,17 @@ image:

tasks:
- command: flutter run --web-port 8686
- command: chromium-browser --no-sandbox

ports:
- port: 8686
onOpen: open-preview
- port: 6080
onOpen: open-preview
- port: 5900
onOpen: ignore
- port: 35900
onOpen: ignore

vscode:
extensions:
Expand Down

0 comments on commit c5f070d

Please sign in to comment.