From 048008c49431d69f1ef1e83264e573cf4e5b5c24 Mon Sep 17 00:00:00 2001 From: "Murillo Rojas, Luis" Date: Fri, 4 Oct 2024 09:20:39 -0700 Subject: [PATCH] Remove open3d python virtualenv from Dockerfile --- docker/Dockerfile.ci | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile.ci b/docker/Dockerfile.ci index f1054c42e4c..6629b129fc1 100755 --- a/docker/Dockerfile.ci +++ b/docker/Dockerfile.ci @@ -164,7 +164,7 @@ WORKDIR /root/Open3D RUN ./util/install_deps_ubuntu.sh assume-yes # Open3D Python dependencies -RUN source /root/open3d/bin/activate && source util/ci_utils.sh \ +RUN source util/ci_utils.sh \ && if [ "${BUILD_CUDA_MODULE}" = "ON" ]; then \ install_python_dependencies with-cuda with-jupyter; \ else \ @@ -173,7 +173,7 @@ RUN source /root/open3d/bin/activate && source util/ci_utils.sh \ && pip install -r python/requirements_test.txt # Open3D Jupyter dependencies -RUN source /root/open3d/bin/activate && mkdir -p /etc/apt/keyrings \ +RUN mkdir -p /etc/apt/keyrings \ && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key \ | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \ && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x nodistro main" \ @@ -186,7 +186,7 @@ RUN source /root/open3d/bin/activate && mkdir -p /etc/apt/keyrings \ && yarn --version # Build all -RUN source /root/open3d/bin/activate && \ +RUN \ if [ "${BUILD_SYCL_MODULE}" = "ON" ]; then \ export CMAKE_CXX_COMPILER=icpx; \ export CMAKE_C_COMPILER=icx; \