To run the project
Docker is used only as a development environment.
- The image contains only tools and libraries (compiler, OpenGL, GLFW, GLEW, GLM).
- The source code is not copied into the image.
- The project directory on your machine is mounted into the container as a volume.
- You may install the libraries directly on your system instead of using Docker. Check the
Dockerfilefor required dependencies.
docker build -t proto-engine .
sudo xhost +local:docker
docker run -it
--name proto-engine-dev
--user
--env DISPLAY=$DISPLAY
-v /tmp/.X11-unix:/tmp/.X11-unix:rw
-v <PROJECT_PATH>:/workspace
proto-engine
cd /workspace/Proto-Engine/src
./build.sh
docker start -ai proto-engine-dev
LearnOpenGL