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

Commit feafeb0

Browse files
committed
chore(gitpod): install Chromium
1 parent 400c276 commit feafeb0

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

.gitpod.Dockerfile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM gitpod/workspace-full
1+
FROM gitpod/workspace-full-vnc
22

33
USER root
44

@@ -10,7 +10,13 @@ RUN set -ex; \
1010
apt-get update; \
1111
apt-get install -y libglu1-mesa
1212

13-
USER gitpod
13+
USER gitpod
14+
15+
# Install Chromium
16+
RUN set -ex; \
17+
sudo apt-get update; \
18+
sudo apt-get install -yq chromium-browser; \
19+
sudo rm -rf /var/lib/apt/lists/*
1420

1521
RUN set -ex; \
1622
mkdir ~/development; \

.gitpod.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,17 @@ image:
33

44
tasks:
55
- command: flutter run --web-port 8686
6+
- command: chromium-browser --no-sandbox
67

78
ports:
89
- port: 8686
910
onOpen: open-preview
11+
- port: 6080
12+
onOpen: open-preview
13+
- port: 5900
14+
onOpen: ignore
15+
- port: 35900
16+
onOpen: ignore
1017

1118
vscode:
1219
extensions:

0 commit comments

Comments
 (0)