diff --git a/assets/designer/environments/designer-cv-transform/context/Dockerfile b/assets/designer/environments/designer-cv-transform/context/Dockerfile index 107ead1623..cb6d715f98 100644 --- a/assets/designer/environments/designer-cv-transform/context/Dockerfile +++ b/assets/designer/environments/designer-cv-transform/context/Dockerfile @@ -9,14 +9,7 @@ ENV PATH=$CONDA_PREFIX/bin:$PATH # This is needed for mpi to locate libpython ENV LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH -# update to fix vulnerability -RUN apt-get update && \ - apt-get install -y --no-install-recommends \ - curl \ - linux-libc-dev \ - libcurl3-gnutls && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* + # Create conda environment COPY conda_dependencies.yaml . diff --git a/assets/designer/environments/designer-cv/context/Dockerfile b/assets/designer/environments/designer-cv/context/Dockerfile index 569feae18f..6e8f7af00a 100644 --- a/assets/designer/environments/designer-cv/context/Dockerfile +++ b/assets/designer/environments/designer-cv/context/Dockerfile @@ -9,14 +9,7 @@ ENV PATH=$CONDA_PREFIX/bin:$PATH # This is needed for mpi to locate libpython ENV LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH -# update to fix vulnerability -RUN apt-get update && \ - apt-get install -y --no-install-recommends \ - curl \ - linux-libc-dev \ - libcurl3-gnutls && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* + # Create conda environment COPY conda_dependencies.yaml . diff --git a/assets/designer/environments/designer-io/context/Dockerfile b/assets/designer/environments/designer-io/context/Dockerfile index bb3d44261f..874368ba36 100644 --- a/assets/designer/environments/designer-io/context/Dockerfile +++ b/assets/designer/environments/designer-io/context/Dockerfile @@ -9,14 +9,7 @@ ENV PATH=$CONDA_PREFIX/bin:$PATH # This is needed for mpi to locate libpython ENV LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH -# update to fix vulnerability -RUN apt-get update && \ - apt-get install -y --no-install-recommends \ - curl \ - linux-libc-dev \ - libcurl3-gnutls && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* + # Create conda environment COPY conda_dependencies.yaml . diff --git a/assets/designer/environments/designer-pytorch-2.3-train/context/Dockerfile b/assets/designer/environments/designer-pytorch-2.3-train/context/Dockerfile index 028597fdaf..4a23f536fe 100644 --- a/assets/designer/environments/designer-pytorch-2.3-train/context/Dockerfile +++ b/assets/designer/environments/designer-pytorch-2.3-train/context/Dockerfile @@ -9,14 +9,7 @@ ENV PATH=$CONDA_PREFIX/bin:$PATH # This is needed for mpi to locate libpython ENV LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH -# update to fix vulnerability -RUN apt-get update && \ - apt-get install -y --no-install-recommends \ - curl \ - linux-libc-dev \ - libcurl3-gnutls && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* + # Create conda environment COPY conda_dependencies.yaml . diff --git a/assets/designer/environments/designer-pytorch-2.3/context/Dockerfile b/assets/designer/environments/designer-pytorch-2.3/context/Dockerfile index f68acb5eba..ed0c111210 100644 --- a/assets/designer/environments/designer-pytorch-2.3/context/Dockerfile +++ b/assets/designer/environments/designer-pytorch-2.3/context/Dockerfile @@ -9,14 +9,7 @@ ENV PATH=$CONDA_PREFIX/bin:$PATH # This is needed for mpi to locate libpython ENV LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH -# update to fix vulnerability -RUN apt-get update && \ - apt-get install -y --no-install-recommends \ - curl \ - linux-libc-dev \ - libcurl3-gnutls && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* + # Create conda environment COPY conda_dependencies.yaml . diff --git a/assets/designer/environments/designer-r/context/Dockerfile b/assets/designer/environments/designer-r/context/Dockerfile index 458005e702..b66344c1ec 100644 --- a/assets/designer/environments/designer-r/context/Dockerfile +++ b/assets/designer/environments/designer-r/context/Dockerfile @@ -9,14 +9,7 @@ ENV PATH=$CONDA_PREFIX/bin:$PATH # This is needed for mpi to locate libpython ENV LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH -# update to fix vulnerability -RUN apt-get update && \ - apt-get install -y --no-install-recommends \ - curl \ - linux-libc-dev \ - libcurl3-gnutls && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* + # Create conda environment COPY conda_dependencies.yaml . diff --git a/assets/designer/environments/designer-recommender/context/Dockerfile b/assets/designer/environments/designer-recommender/context/Dockerfile index 19b581fe0a..bad2d244c5 100644 --- a/assets/designer/environments/designer-recommender/context/Dockerfile +++ b/assets/designer/environments/designer-recommender/context/Dockerfile @@ -9,14 +9,7 @@ ENV PATH=$CONDA_PREFIX/bin:$PATH # This is needed for mpi to locate libpython ENV LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH -# update to fix vulnerability -RUN apt-get update && \ - apt-get install -y --no-install-recommends \ - curl \ - linux-libc-dev \ - libcurl3-gnutls && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* + # Create conda environment COPY conda_dependencies.yaml . diff --git a/assets/designer/environments/designer-transform/context/Dockerfile b/assets/designer/environments/designer-transform/context/Dockerfile index bf4666157c..1964577be5 100644 --- a/assets/designer/environments/designer-transform/context/Dockerfile +++ b/assets/designer/environments/designer-transform/context/Dockerfile @@ -9,14 +9,7 @@ ENV PATH=$CONDA_PREFIX/bin:$PATH # This is needed for mpi to locate libpython ENV LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH -# update to fix vulnerability -RUN apt-get update && \ - apt-get install -y --no-install-recommends \ - curl \ - linux-libc-dev \ - libcurl3-gnutls && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* + # Create conda environment COPY conda_dependencies.yaml . diff --git a/assets/designer/environments/designer-vowpalwabbit/context/Dockerfile b/assets/designer/environments/designer-vowpalwabbit/context/Dockerfile index 05ec84d543..c8c8443102 100644 --- a/assets/designer/environments/designer-vowpalwabbit/context/Dockerfile +++ b/assets/designer/environments/designer-vowpalwabbit/context/Dockerfile @@ -9,14 +9,7 @@ ENV PATH=$CONDA_PREFIX/bin:$PATH # This is needed for mpi to locate libpython ENV LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH -# update to fix vulnerability -RUN apt-get update && \ - apt-get install -y --no-install-recommends \ - curl \ - linux-libc-dev \ - libcurl3-gnutls && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* + # Create conda environment COPY conda_dependencies.yaml . diff --git a/assets/designer/environments/designer/context/Dockerfile b/assets/designer/environments/designer/context/Dockerfile index 5705dcfb1a..96315e9ef3 100644 --- a/assets/designer/environments/designer/context/Dockerfile +++ b/assets/designer/environments/designer/context/Dockerfile @@ -8,14 +8,7 @@ ENV PATH=$CONDA_PREFIX/bin:$PATH # This is needed for mpi to locate libpython ENV LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH -# update to fix vulnerability -RUN apt-get update && \ - apt-get install -y --no-install-recommends \ - curl \ - linux-libc-dev \ - libcurl3-gnutls && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* + # Create conda environment COPY conda_dependencies.yaml .