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

Commit 63108c0

Browse files
committed
chore(gitpod): install Google Chrome
1 parent 5ce4f1f commit 63108c0

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

.gitpod.Dockerfile

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
FROM gitpod/workspace-full-vnc
2+
3+
USER gitpod
4+
5+
# Install Google Chrome
6+
RUN set -ex; \
7+
wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb; \
8+
sudo apt-get install -yq ./google-chrome-stable_current_amd64.deb; \
9+
rm google-chrome-stable_current_amd64.deb; \
10+
sudo rm -rf /var/lib/apt/lists/*
11+
12+
RUN set -ex; \
13+
mkdir ~/development; \
14+
cd ~/development; \
15+
git clone https://github.com/flutter/flutter.git -b stable
16+
17+
ENV PATH="$PATH:/home/gitpod/development/flutter/bin"
18+
19+
RUN set -ex; \
20+
flutter channel beta; \
21+
flutter upgrade; \
22+
flutter config --enable-web; \
23+
flutter precache

.gitpod.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,17 @@ image: gitpod/workspace-flutter
22

33
tasks:
44
- command: flutter run --web-port 8686
5+
- command: chromium-browser --no-sandbox
56

67
ports:
78
- port: 8686
89
onOpen: open-preview
10+
- port: 6080
11+
onOpen: open-preview
12+
- port: 5900
13+
onOpen: ignore
14+
- port: 35900
15+
onOpen: ignore
916

1017
vscode:
1118
extensions:

0 commit comments

Comments
 (0)