Update .gitpod.yml to include gitpod dependencies in a mini dockerfile (#1685)

* Update .gitpod.yml

* Create .gitpod.dockerfile

* Update .gitpod.dockerfile

* Update .gitpod.dockerfile

* Update .gitpod.dockerfile

* Update .gitpod.dockerfile
This commit is contained in:
Jeffrey Warren
2020-07-07 10:15:25 -04:00
committed by GitHub
parent fb303a8ca9
commit 917979267a
2 changed files with 9 additions and 0 deletions

7
.gitpod.dockerfile Normal file
View File

@@ -0,0 +1,7 @@
FROM gitpod/workspace-full
USER root
RUN sudo apt-get update && apt-get install -y apt-transport-https \
&& sudo apt-get install -y \
xserver-xorg-dev libxext-dev libxi-dev build-essential libxi-dev libglu1-mesa-dev libglew-dev pkg-config libglu1-mesa-dev freeglut3-dev mesa-common-dev \
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/*

View File

@@ -1,3 +1,5 @@
image:
file: .gitpod.dockerfile
tasks:
- init: npm run setup
command: npm start