Merge pull request #86 from bcmi-labs/jx/support-electron-dev

Support running the Electron app in Gitpod for faster code reviews
This commit is contained in:
Jan Keromnes 2019-12-06 11:10:03 +01:00 committed by GitHub
commit 4c503c0c5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 4 deletions

View File

@ -2,8 +2,12 @@ image:
file: Dockerfile
ports:
- port: 3000
onOpen: open-browser
- port: 3000
onOpen: open-preview
- port: 5900
onOpen: ignore
- port: 6080
onOpen: ignore
tasks:
- init: >

View File

@ -1,4 +1,4 @@
FROM gitpod/workspace-full
FROM gitpod/workspace-full-vnc
USER root
RUN apt-get update -q --fix-missing && \
@ -7,7 +7,8 @@ RUN apt-get update -q --fix-missing && \
build-essential \
libssl-dev \
golang-go \
libxkbfile-dev
libxkbfile-dev \
libnss3-dev
RUN set -ex && \
tmpdir=$(mktemp -d) && \