How to resolve instant-ngp docker container hang while building?

Hello, everyone!
I am trying to build instant-ngp in a docker container. I am following the guide at this link: GitHub - NVlabs/instant-ngp: Instant neural graphics primitives: lightning fast NeRF and more.

I am using the .devcontainer folder that ships with the GitHub repository and have tried it through the terminal and Vscode. In both cases, building hangs around step [9/11] while compiling the schur_eliminator. There is some variance around where it hangs; for example, Vscode has hung at this output:

[+] Building 573.3s (9/11)
 => [internal] load build definition from Dockerfile                       0.0s
 => => transferring dockerfile: 32B                                        0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/nvidia/cuda:10.2-devel-ubuntu1  0.4s
 => [1/7] FROM docker.io/nvidia/cuda:10.2-devel-ubuntu18.04@sha256:1fbf75  0.0s
 => [internal] load build context                                          0.0s
 => => transferring context: 37B                                           0.0s

And the terminal at:

=> [6/7] RUN echo "Installing Ceres Solver ver. 2.0.0..."  && cd /opt  && git clone https://github.com/ceres-s  439.1s
 => => # with preprocessed source if appropriate.
 => => # See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
 => => # internal/ceres/CMakeFiles/ceres.dir/build.make:1965: recipe for target 'internal/ceres/CMakeFiles/ceres.dir/ge
 => => # nerated/schur_eliminator_2_4_3.cc.o' failed
 => => # make[2]: *** [internal/ceres/CMakeFiles/ceres.dir/generated/schur_eliminator_2_4_3.cc.o] Error 4
 => => # make[2]: *** Waiting for unfinished jobs....
time="2022-09-19T04:22:52-04:00" level=error msg="got 3 SIGTERM/SIGINTs, forcing shutdown"

However, they generally hang around compiling the Schur eliminator and step [9/11].

How can I build the docker container without these errors? Does this problem indicate my computer is too weak to build the container?