Skip to content

Commit

Permalink
use Miniconda for py39 in Dockerfiles (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdeepali authored May 25, 2023
1 parent 91bf645 commit 56a6a83
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion open_ce/images/builder-cuda-ppc64le/Dockerfile.cuda-11.0
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down
2 changes: 1 addition & 1 deletion open_ce/images/builder-cuda-ppc64le/Dockerfile.cuda-11.2
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down
2 changes: 1 addition & 1 deletion open_ce/images/builder-cuda-x86_64/Dockerfile.cuda-11.0
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down
2 changes: 1 addition & 1 deletion open_ce/images/builder-cuda-x86_64/Dockerfile.cuda-11.2
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down
2 changes: 1 addition & 1 deletion open_ce/images/builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down
2 changes: 1 addition & 1 deletion open_ce/images/builder/Dockerfile-p10
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down
2 changes: 1 addition & 1 deletion open_ce/images/opence-runtime/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down
2 changes: 1 addition & 1 deletion open_ce/images/opence-runtime/podman/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit 56a6a83

Please sign in to comment.