From b360f6bdcf8e1573c7a59ad197c32bdeb1f18b92 Mon Sep 17 00:00:00 2001 From: Sergio Bromberg Date: Tue, 5 Sep 2023 12:37:00 +0900 Subject: [PATCH] Update Dockerfile with default conda env --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 45b9c85..9083dc2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,6 +27,9 @@ WORKDIR /workspace/gaussian-splatting RUN conda env create --file environment.yml && conda init bash && exec bash && conda activate gaussian_splatting +# Make gaussian_splatting the default environment on start +RUN echo "conda activate gaussian_splatting" >> /root/.bashrc + # Tweak the CMake file for matching the existing OpenCV version. Fix the naming of FindEmbree.cmake WORKDIR /workspace/gaussian-splatting/SIBR_viewers/cmake/linux RUN sed -i 's/find_package(OpenCV 4\.5 REQUIRED)/find_package(OpenCV 4.2 REQUIRED)/g' dependencies.cmake