This builds the CUDA version of Mitsuba 3 inside docker.
First, install Docker and the NVIDIA Container Toolkit.
Then, build the image and run
docker build -t mitsuba3 .
docker build -t mitsuba3-dev dev/ # Optionally
docker run -it --runtime=nvidia \
--gpus all \
-e NVIDIA_DRIVER_CAPABILITIES=graphics,compute,utility \
--name mitsuba3 \
mitsuba3