From 56a6a83007ea7d8f6638717cabb3e34949538490 Mon Sep 17 00:00:00 2001 From: Deepali <70963368+cdeepali@users.noreply.github.com> Date: Thu, 25 May 2023 11:21:39 +0530 Subject: [PATCH] use Miniconda for py39 in Dockerfiles (#177) --- open_ce/images/builder-cuda-ppc64le/Dockerfile.cuda-11.0 | 2 +- open_ce/images/builder-cuda-ppc64le/Dockerfile.cuda-11.2 | 2 +- open_ce/images/builder-cuda-x86_64/Dockerfile.cuda-11.0 | 2 +- open_ce/images/builder-cuda-x86_64/Dockerfile.cuda-11.2 | 2 +- open_ce/images/builder/Dockerfile | 2 +- open_ce/images/builder/Dockerfile-p10 | 2 +- open_ce/images/opence-runtime/docker/Dockerfile | 2 +- open_ce/images/opence-runtime/podman/Dockerfile | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/open_ce/images/builder-cuda-ppc64le/Dockerfile.cuda-11.0 b/open_ce/images/builder-cuda-ppc64le/Dockerfile.cuda-11.0 index 524030f7..f79e1b0d 100644 --- a/open_ce/images/builder-cuda-ppc64le/Dockerfile.cuda-11.0 +++ b/open_ce/images/builder-cuda-ppc64le/Dockerfile.cuda-11.0 @@ -21,7 +21,7 @@ RUN export ARCH="$(uname -m)" && \ # Adduser Builder useradd -b /home --non-unique --create-home --gid ${GROUP_ID} --groups wheel \ --uid ${BUILD_ID} --comment "User for Building" ${BUILD_USER} && \ - curl -o /tmp/anaconda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-${ARCH}.sh && \ + curl -o /tmp/anaconda.sh https://repo.anaconda.com/miniconda/Miniconda3-py39_23.3.1-0-Linux-${ARCH}.sh && \ chmod +x /tmp/anaconda.sh && \ /bin/bash /tmp/anaconda.sh -f -b -p /opt/conda && \ rm -f /tmp/anaconda.sh && \ diff --git a/open_ce/images/builder-cuda-ppc64le/Dockerfile.cuda-11.2 b/open_ce/images/builder-cuda-ppc64le/Dockerfile.cuda-11.2 index 14746fd3..cf34c21a 100644 --- a/open_ce/images/builder-cuda-ppc64le/Dockerfile.cuda-11.2 +++ b/open_ce/images/builder-cuda-ppc64le/Dockerfile.cuda-11.2 @@ -22,7 +22,7 @@ RUN export ARCH="$(uname -m)" && \ # Adduser Builder useradd -b /home --non-unique --create-home --gid ${GROUP_ID} --groups wheel \ --uid ${BUILD_ID} --comment "User for Building" ${BUILD_USER} && \ - curl -o /tmp/anaconda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-${ARCH}.sh && \ + curl -o /tmp/anaconda.sh https://repo.anaconda.com/miniconda/Miniconda3-py39_23.3.1-0-Linux-${ARCH}.sh && \ chmod +x /tmp/anaconda.sh && \ /bin/bash /tmp/anaconda.sh -f -b -p /opt/conda && \ rm -f /tmp/anaconda.sh && \ diff --git a/open_ce/images/builder-cuda-x86_64/Dockerfile.cuda-11.0 b/open_ce/images/builder-cuda-x86_64/Dockerfile.cuda-11.0 index da7eac42..95d97ce5 100644 --- a/open_ce/images/builder-cuda-x86_64/Dockerfile.cuda-11.0 +++ b/open_ce/images/builder-cuda-x86_64/Dockerfile.cuda-11.0 @@ -21,7 +21,7 @@ RUN export ARCH="$(uname -m)" && \ # Adduser Builder useradd -b /home --non-unique --create-home --gid ${GROUP_ID} --groups wheel \ --uid ${BUILD_ID} --comment "User for Building" ${BUILD_USER} && \ - curl -o /tmp/anaconda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-${ARCH}.sh && \ + curl -o /tmp/anaconda.sh https://repo.anaconda.com/miniconda/Miniconda3-py39_23.3.1-0-Linux-${ARCH}.sh && \ chmod +x /tmp/anaconda.sh && \ /bin/bash /tmp/anaconda.sh -f -b -p /opt/conda && \ rm -f /tmp/anaconda.sh && \ diff --git a/open_ce/images/builder-cuda-x86_64/Dockerfile.cuda-11.2 b/open_ce/images/builder-cuda-x86_64/Dockerfile.cuda-11.2 index 214263cc..68a1e83c 100644 --- a/open_ce/images/builder-cuda-x86_64/Dockerfile.cuda-11.2 +++ b/open_ce/images/builder-cuda-x86_64/Dockerfile.cuda-11.2 @@ -22,7 +22,7 @@ RUN export ARCH="$(uname -m)" && \ # Adduser Builder useradd -b /home --non-unique --create-home --gid ${GROUP_ID} --groups wheel \ --uid ${BUILD_ID} --comment "User for Building" ${BUILD_USER} && \ - curl -o /tmp/anaconda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-${ARCH}.sh && \ + curl -o /tmp/anaconda.sh https://repo.anaconda.com/miniconda/Miniconda3-py39_23.3.1-0-Linux-${ARCH}.sh && \ chmod +x /tmp/anaconda.sh && \ /bin/bash /tmp/anaconda.sh -f -b -p /opt/conda && \ rm -f /tmp/anaconda.sh && \ diff --git a/open_ce/images/builder/Dockerfile b/open_ce/images/builder/Dockerfile index 05f4e8c1..7a52aad5 100644 --- a/open_ce/images/builder/Dockerfile +++ b/open_ce/images/builder/Dockerfile @@ -18,7 +18,7 @@ RUN export ARCH="$(uname -m)" && \ # Adduser Builder useradd -b /home --non-unique --create-home --gid ${GROUP_ID} --groups wheel \ --uid ${BUILD_ID} --comment "User for Building" ${BUILD_USER} && \ - curl -o /tmp/anaconda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-${ARCH}.sh && \ + curl -o /tmp/anaconda.sh https://repo.anaconda.com/miniconda/Miniconda3-py39_23.3.1-0-Linux-${ARCH}.sh && \ chmod +x /tmp/anaconda.sh && \ /bin/bash /tmp/anaconda.sh -f -b -p /opt/conda && \ rm -f /tmp/anaconda.sh && \ diff --git a/open_ce/images/builder/Dockerfile-p10 b/open_ce/images/builder/Dockerfile-p10 index 4bf11596..a293f7f3 100644 --- a/open_ce/images/builder/Dockerfile-p10 +++ b/open_ce/images/builder/Dockerfile-p10 @@ -18,7 +18,7 @@ RUN export ARCH="$(uname -m)" && \ # Adduser Builder useradd -b /home --non-unique --create-home --gid ${GROUP_ID} --groups wheel \ --uid ${BUILD_ID} --comment "User for Building" ${BUILD_USER} && \ - curl -o /tmp/anaconda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-${ARCH}.sh && \ + curl -o /tmp/anaconda.sh https://repo.anaconda.com/miniconda/Miniconda3-py39_23.3.1-0-Linux-${ARCH}.sh && \ chmod +x /tmp/anaconda.sh && \ /bin/bash /tmp/anaconda.sh -f -b -p /opt/conda && \ rm -f /tmp/anaconda.sh && \ diff --git a/open_ce/images/opence-runtime/docker/Dockerfile b/open_ce/images/opence-runtime/docker/Dockerfile index 1dfc8a42..96384f54 100644 --- a/open_ce/images/opence-runtime/docker/Dockerfile +++ b/open_ce/images/opence-runtime/docker/Dockerfile @@ -30,7 +30,7 @@ RUN export ARCH="$(uname -m)" && \ adduser -b /home/ --non-unique --create-home --gid ${GROUP_ID} --groups wheel \ --uid ${USER_ID} ${OPENCE_USER} && \ echo "${OPENCE_USER} ALL=NOPASSWD: ALL" > /etc/sudoers.d/user-${OPENCE_USER} && \ - curl -o /tmp/anaconda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-${ARCH}.sh && \ + curl -o /tmp/anaconda.sh https://repo.anaconda.com/miniconda/Miniconda3-py39_23.3.1-0-Linux-${ARCH}.sh && \ chmod +x /tmp/anaconda.sh && \ /bin/bash /tmp/anaconda.sh -f -b -p /opt/conda && \ rm -f /tmp/anaconda.sh && \ diff --git a/open_ce/images/opence-runtime/podman/Dockerfile b/open_ce/images/opence-runtime/podman/Dockerfile index 488a54d7..49729058 100644 --- a/open_ce/images/opence-runtime/podman/Dockerfile +++ b/open_ce/images/opence-runtime/podman/Dockerfile @@ -30,7 +30,7 @@ RUN export ARCH="$(uname -m)" && \ adduser -b /home/ --non-unique --create-home --gid ${GROUP_ID} --groups wheel \ --uid ${USER_ID} ${OPENCE_USER} && \ echo "${OPENCE_USER} ALL=NOPASSWD: ALL" > /etc/sudoers.d/user-${OPENCE_USER} && \ - curl -o /tmp/anaconda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-${ARCH}.sh && \ + curl -o /tmp/anaconda.sh https://repo.anaconda.com/miniconda/Miniconda3-py39_23.3.1-0-Linux-${ARCH}.sh && \ chmod +x /tmp/anaconda.sh && \ /bin/bash /tmp/anaconda.sh -f -b -p /opt/conda && \ rm -f /tmp/anaconda.sh && \