mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-28 09:47:20 +02:00
This patch builds upon the AliceVision PR: https://github.com/alicevision/AliceVision/pull/853 It ensures that Centos images build a functioning Meshroom, and also adds Ubuntu support. The Docker images support launch the GUI via ssh: docker run -it --runtime nvidia -p 2222:22 --name meshroom -v</path/to/your/data>:/data alicevision/meshroom:<meshroom branch/commit>-av<AliceVision branch/commit>-ubuntu20.04-cuda11.0 ssh -p 2222 -X root@<docker host> /opt/Meshroom_bundle/Meshroom # Password is 'meshroom' The following OS/CUDA versions are supported: CUDA_VERSION=11.0 UBUNTU_VERSION=20.04 CUDA_VERSION=11.0 UBUNTU_VERSION=18.04 CUDA_VERSION=10.2 UBUNTU_VERSION=18.04 CUDA_VERSION=9.2 UBUNTU_VERSION=18.04 CUDA_VERSION=10.2 CENTOS_VERSION=7 CUDA_VERSION=9.2 CENTOS_VERSION=7 To build all supported images: AV_VERSION=<AliceVision version> docker/build-all.sh Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
16 lines
488 B
Bash
Executable file
16 lines
488 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
test -d docker || (
|
|
echo This script must be run from the top level Meshroom directory
|
|
exit 1
|
|
)
|
|
|
|
CUDA_VERSION=11.0 UBUNTU_VERSION=20.04 docker/build-ubuntu.sh
|
|
CUDA_VERSION=11.0 UBUNTU_VERSION=18.04 docker/build-ubuntu.sh
|
|
CUDA_VERSION=10.2 UBUNTU_VERSION=18.04 docker/build-ubuntu.sh
|
|
CUDA_VERSION=9.2 UBUNTU_VERSION=18.04 docker/build-ubuntu.sh
|
|
|
|
CUDA_VERSION=10.2 CENTOS_VERSION=7 docker/build-centos.sh
|
|
CUDA_VERSION=9.2 CENTOS_VERSION=7 docker/build-centos.sh
|