gitpod workspace

pull/63/head
Dmitry V. Sokolov 2020-08-25 15:53:30 +02:00
parent 37c04ff5be
commit ce5f6c7965
2 changed files with 18 additions and 0 deletions

12
.gitpod.yml Normal file
View File

@ -0,0 +1,12 @@
image:
file: Dockerfile
tasks:
- command: >
mkdir --parents build &&
cd build &&
cmake .. &&
make &&
./tinyrenderer ../obj/diablo3_pose/diablo3_pose.obj ../obj/floor.obj &&
convert framebuffer.tga > framebuffer.png &&
open framebuffer.png &&
cd ..

6
Dockerfile Normal file
View File

@ -0,0 +1,6 @@
FROM gitpod/workspace-full
USER root
# add your tools here
RUN apt-get update && apt-get install -y \
imagemagick