From 40f5d7bb3f0c21b23d9504cc661717660111bdeb Mon Sep 17 00:00:00 2001 From: Sven Efftinge Date: Mon, 11 Feb 2019 14:06:16 +0000 Subject: [PATCH] Added libsdl2-dev to dockerfile --- .gitpod.yml | 5 +++++ Dockerfile | 5 +++-- README.md | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index 2be156f..4c6b00a 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,5 +1,10 @@ image: file: Dockerfile +ports: +- port: 6080 + onOpen: notify +- port: 5900 + onOpen: ignore tasks: - command: > mkdir --parents build && diff --git a/Dockerfile b/Dockerfile index aa1f8a5..af743be 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ -FROM gitpod/workspace-full +FROM gitpod/workspace-full-vnc USER root # add your tools here RUN apt-get update && apt-get install -y \ - netpbm + netpbm \ + libsdl2-dev diff --git a/README.md b/README.md index 3524bb7..620c363 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ make You can open the project in Gitpod, a free online dev evironment for GitHub: -[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/ssloy/tinyraycaster/tree/ea577d67088656918a85911448b9539421a8f3e1) +[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/ssloy/tinyraycaster) On open, the editor will compile & run the program as well as open the resulting image in the editor's preview.