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 Chromium
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecrs committed Feb 13, 2020
1 parent 400c276 commit feafeb0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
10 changes: 8 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,13 @@ RUN set -ex; \
apt-get update; \
apt-get install -y libglu1-mesa

USER gitpod
USER gitpod

# Install Chromium
RUN set -ex; \
sudo apt-get update; \
sudo apt-get install -yq chromium-browser; \
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 feafeb0

Please sign in to comment.