From 2a3d9b2fc14fa7c742b02da42075acbeab850f63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Dutheillet-Lamonth=C3=A9zie?= Date: Thu, 18 Jul 2024 17:50:27 +0200 Subject: [PATCH] #32: update dockerfile --- ci/docker/ubuntu22.04-gcc11-vtk9.2.2.dockerfile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/ci/docker/ubuntu22.04-gcc11-vtk9.2.2.dockerfile b/ci/docker/ubuntu22.04-gcc11-vtk9.2.2.dockerfile index 1474a681ee..efbe058e09 100644 --- a/ci/docker/ubuntu22.04-gcc11-vtk9.2.2.dockerfile +++ b/ci/docker/ubuntu22.04-gcc11-vtk9.2.2.dockerfile @@ -8,7 +8,6 @@ ARG CXX==g++-11 ARG VTK_TAG=v9.2.2 ARG VTK_DIR=/opt/build/vtk-build ARG PYTHON=3.8 -ARG PYTHON_BINDINGS=0 ENV DEBIAN_FRONTEND=noninteractive @@ -52,9 +51,8 @@ RUN apt-get update -y -q && \ RUN export CC="\$(which ${CC})" RUN export CXX="\$(which ${CXX})" -RUN if [[ -z "${PYTHON_BINDINGS}" ]] ; then \ - # Setup python with conda - # +# Setup python with conda +RUN \ # Download and install Miniconda curl -LO https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh && \ bash Miniconda3-latest-Linux-x86_64.sh -b -p /opt/conda && \ @@ -72,8 +70,7 @@ RUN if [[ -z "${PYTHON_BINDINGS}" ]] ; then \ export CONDA_DEFAULT_ENV=deves \ export CONDA_PREFIX=/opt/conda/envs/$CONDA_DEFAULT_ENV \ export PATH=$PATH:$CONDA_PREFIX/bin \ - export CONDA_AUTO_UPDATE_CONDA=false \ -; fi + export CONDA_AUTO_UPDATE_CONDA=false # Clone VTK source RUN mkdir -p /opt/src/vtk