The parser section for the Cub3D project.
git clone [email protected]:lightiverson/cub3d-parser.git
cd cub3d-parser
make
./cub3d /maps/map.cub
or
./open_all_maps.sh
Bouw image genaamd ubuntu-cub3d op basis van Dockerfile:
docker build -t ubuntu-cub3d-sanitize .
Draai container op basis van image genaamd ubuntu-cub3d met mounted eigen folder:
docker run --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -it --rm --init -v "$PWD:/pwd" ubuntu-cub3d-sanitize sh -c "cd /pwd; bash"
--cap-add=SYS_PTRACE --security-opt seccomp=unconfined = nodig om lldb te kunnen runnen in container
-i = interactive so bash doesn’t immediately quit because there is no input
-t = bash shows prompt
--rm = delete container on exit to not waste space
-v = mounts specific folder from host to Docker container
--init = shiieet snap het nut niet, maar Noah gebruikt het
-c = CPU shares (relative weight) ???
sh = ?