From 7f875b5e4d9c3304a72572e0a673efa4429c4edd Mon Sep 17 00:00:00 2001 From: WU Qi Date: Sun, 17 Dec 2023 21:31:43 -0800 Subject: [PATCH] point Docker to current repo --- .github/workflows/docker-image.yml | 3 +++ Dockerfile | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 5da5d4b..4a1bf08 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -14,5 +14,8 @@ jobs: steps: - uses: actions/checkout@v3 + with: + submodules: 'recursive' + - name: Build the Docker image run: docker build . --file Dockerfile --tag instantvnr:$(date +%s) diff --git a/Dockerfile b/Dockerfile index 01f3ece..abb64f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,6 @@ FROM nvidia/cuda:11.6.2-devel-ubuntu20.04 # Select a CUDA architecture to build. Currently we do not support multi-arch builds. ARG CUDA_ARCH=70 - ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update @@ -35,7 +34,8 @@ RUN wget -qO- "https://github.com/oneapi-src/oneTBB/releases/download/v2021.9.0/ # Create a superbuild RUN git clone --recursive https://github.com/VIDILabs/open-volume-renderer.git /instantvnr/ovr -RUN git clone --recursive https://github.com/VIDILabs/instantvnr.git /instantvnr/source +# RUN git clone --recursive https://github.com/VIDILabs/instantvnr.git /instantvnr/source +COPY . /instantvnr/source RUN ln -s /instantvnr/source /instantvnr/ovr/projects/instantvnr # Config and build