Skip to content

Commit 9a27252

Browse files
committed
Support running the Electron app in Gitpod for faster code reviews
1 parent 20bc3c6 commit 9a27252

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.gitpod.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@ image:
22
file: Dockerfile
33

44
ports:
5-
- port: 3000
6-
onOpen: open-browser
5+
- port: 3000
6+
onOpen: open-preview
7+
- port: 5900
8+
onOpen: ignore
9+
- port: 6080
10+
onOpen: ignore
711

812
tasks:
913
- init: >

Dockerfile

+3-2
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
RUN apt-get update -q --fix-missing && \
@@ -7,7 +7,8 @@ RUN apt-get update -q --fix-missing && \
77
build-essential \
88
libssl-dev \
99
golang-go \
10-
libxkbfile-dev
10+
libxkbfile-dev \
11+
libnss3-dev
1112

1213
RUN set -ex && \
1314
tmpdir=$(mktemp -d) && \

0 commit comments

Comments
 (0)