From 47ffcffbd568c38232da0ed20c99093e0fc36004 Mon Sep 17 00:00:00 2001 From: Kaiyi Zhang Date: Thu, 2 Jan 2025 14:28:14 -0800 Subject: [PATCH] feat: upgrade deps version --- .../designer/environments/component/context/Dockerfile | 2 +- .../designer-cv-transform/context/Dockerfile | 4 ++-- .../designer/environments/designer-cv/context/Dockerfile | 4 ++-- .../designer/environments/designer-io/context/Dockerfile | 4 ++-- .../designer-pytorch-2.3-train/context/Dockerfile | 4 ++-- .../environments/designer-pytorch-2.3/context/Dockerfile | 4 ++-- .../designer/environments/designer-r/context/Dockerfile | 4 ++-- .../environments/designer-recommender/context/Dockerfile | 4 ++-- .../environments/designer-transform/context/Dockerfile | 4 ++-- .../designer-vowpalwabbit/context/Dockerfile | 4 ++-- assets/designer/environments/designer/context/Dockerfile | 9 ++++++++- 11 files changed, 27 insertions(+), 20 deletions(-) diff --git a/assets/designer/environments/component/context/Dockerfile b/assets/designer/environments/component/context/Dockerfile index c71b0eaf9a..57d6fa801a 100644 --- a/assets/designer/environments/component/context/Dockerfile +++ b/assets/designer/environments/component/context/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/azureml/openmpi4.1.0-ubuntu20.04:{{latest-image-tag}} +FROM mcr.microsoft.com/azureml/openmpi4.1.0-ubuntu22.04:{{latest-image-tag}} WORKDIR / diff --git a/assets/designer/environments/designer-cv-transform/context/Dockerfile b/assets/designer/environments/designer-cv-transform/context/Dockerfile index e4b52bc23c..c835fd3599 100644 --- a/assets/designer/environments/designer-cv-transform/context/Dockerfile +++ b/assets/designer/environments/designer-cv-transform/context/Dockerfile @@ -12,8 +12,8 @@ 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=7.81.0-1ubuntu1.20 && \ - linux-libc-dev=5.4.0 && \ + curl=7.68.0-1ubuntu2.25 && \ + linux-libc-dev=5.4.0-204.224 && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* diff --git a/assets/designer/environments/designer-cv/context/Dockerfile b/assets/designer/environments/designer-cv/context/Dockerfile index 7a2776f26f..365a671eb1 100644 --- a/assets/designer/environments/designer-cv/context/Dockerfile +++ b/assets/designer/environments/designer-cv/context/Dockerfile @@ -12,8 +12,8 @@ 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=7.81.0-1ubuntu1.20 && \ - linux-libc-dev=5.4.0 && \ + curl=7.68.0-1ubuntu2.25 && \ + linux-libc-dev=5.4.0-204.224 && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* diff --git a/assets/designer/environments/designer-io/context/Dockerfile b/assets/designer/environments/designer-io/context/Dockerfile index 484d12291a..729e52dde6 100644 --- a/assets/designer/environments/designer-io/context/Dockerfile +++ b/assets/designer/environments/designer-io/context/Dockerfile @@ -12,8 +12,8 @@ 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=7.81.0-1ubuntu1.20 && \ - linux-libc-dev=5.4.0 && \ + curl=7.68.0-1ubuntu2.25 && \ + linux-libc-dev=5.4.0-204.224 && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* 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 22df0d54be..e32fc3143f 100644 --- a/assets/designer/environments/designer-pytorch-2.3-train/context/Dockerfile +++ b/assets/designer/environments/designer-pytorch-2.3-train/context/Dockerfile @@ -12,8 +12,8 @@ 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=7.81.0-1ubuntu1.20 && \ - linux-libc-dev=5.4.0 && \ + curl=7.68.0-1ubuntu2.25 && \ + linux-libc-dev=5.4.0-204.224 && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* diff --git a/assets/designer/environments/designer-pytorch-2.3/context/Dockerfile b/assets/designer/environments/designer-pytorch-2.3/context/Dockerfile index bb398f7561..4bc58b76c1 100644 --- a/assets/designer/environments/designer-pytorch-2.3/context/Dockerfile +++ b/assets/designer/environments/designer-pytorch-2.3/context/Dockerfile @@ -12,8 +12,8 @@ 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=7.81.0-1ubuntu1.20 && \ - linux-libc-dev=5.4.0 && \ + curl=7.68.0-1ubuntu2.25 && \ + linux-libc-dev=5.4.0-204.224 && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* diff --git a/assets/designer/environments/designer-r/context/Dockerfile b/assets/designer/environments/designer-r/context/Dockerfile index 2fd9a162bb..4779b71d00 100644 --- a/assets/designer/environments/designer-r/context/Dockerfile +++ b/assets/designer/environments/designer-r/context/Dockerfile @@ -12,8 +12,8 @@ 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=7.81.0-1ubuntu1.20 && \ - linux-libc-dev=5.4.0 && \ + curl=7.68.0-1ubuntu2.25 && \ + linux-libc-dev=5.4.0-204.224 && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* diff --git a/assets/designer/environments/designer-recommender/context/Dockerfile b/assets/designer/environments/designer-recommender/context/Dockerfile index b2c3d867a5..f0e8dd0407 100644 --- a/assets/designer/environments/designer-recommender/context/Dockerfile +++ b/assets/designer/environments/designer-recommender/context/Dockerfile @@ -12,8 +12,8 @@ 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=7.81.0-1ubuntu1.20 && \ - linux-libc-dev=5.4.0 && \ + curl=7.68.0-1ubuntu2.25 && \ + linux-libc-dev=5.4.0-204.224 && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* diff --git a/assets/designer/environments/designer-transform/context/Dockerfile b/assets/designer/environments/designer-transform/context/Dockerfile index df2501653e..9cf68cca9d 100644 --- a/assets/designer/environments/designer-transform/context/Dockerfile +++ b/assets/designer/environments/designer-transform/context/Dockerfile @@ -12,8 +12,8 @@ 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=7.81.0-1ubuntu1.20 && \ - linux-libc-dev=5.4.0 && \ + curl=7.68.0-1ubuntu2.25 && \ + linux-libc-dev=5.4.0-204.224 && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* diff --git a/assets/designer/environments/designer-vowpalwabbit/context/Dockerfile b/assets/designer/environments/designer-vowpalwabbit/context/Dockerfile index 9077ca7637..ed9004af48 100644 --- a/assets/designer/environments/designer-vowpalwabbit/context/Dockerfile +++ b/assets/designer/environments/designer-vowpalwabbit/context/Dockerfile @@ -12,8 +12,8 @@ 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=7.81.0-1ubuntu1.20 && \ - linux-libc-dev=5.4.0 && \ + curl=7.68.0-1ubuntu2.25 && \ + linux-libc-dev=5.4.0-204.224 && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* diff --git a/assets/designer/environments/designer/context/Dockerfile b/assets/designer/environments/designer/context/Dockerfile index 0ebac0b157..f9006dfe4f 100644 --- a/assets/designer/environments/designer/context/Dockerfile +++ b/assets/designer/environments/designer/context/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/azureml/openmpi4.1.0-ubuntu20.04:latest +FROM mcr.microsoft.com/azureml/openmpi4.1.0-ubuntu20.04:{{latest-image-tag}} WORKDIR / @@ -9,6 +9,13 @@ 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=7.68.0-1ubuntu2.25 && \ + linux-libc-dev=5.4.0-204.224 && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* # Create conda environment COPY conda_dependencies.yaml .