Skip to content
This repository was archived by the owner on Jul 25, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions miniconda-cuda/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ ARG FULL_CUDA_VER
ARG LINUX_VER

# Define versions and download locations
ARG CONDA_VER=4.7.12
ARG CONDA_VER=4.8.3
ARG TINI_VER=v0.18.0
ARG MINICONDA_URL=http://repo.anaconda.com/miniconda/Miniconda3-${CONDA_VER}-Linux-x86_64.sh
ARG MINICONDA_URL=http://repo.anaconda.com/miniconda/Miniconda3-py38_${CONDA_VER}-Linux-x86_64.sh
ARG TINI_URL=https://github.com/krallin/tini/releases/download/${TINI_VER}/tini

# Set environment
Expand Down Expand Up @@ -92,6 +92,7 @@ RUN wget --quiet ${MINICONDA_URL} -O /miniconda.sh \
&& echo ". /opt/conda/etc/profile.d/conda.sh" >> ~/.bashrc \
&& echo "conda activate base" >> ~/.bashrc \
&& echo ". /opt/conda/etc/profile.d/conda.sh" >> /etc/skel/.bashrc \
&& echo "auto_update_conda: False" >> /opt/conda/.condarc \
&& chmod -R ugo+w /opt/conda \
&& ln -s /opt/conda /conda

Expand Down
5 changes: 3 additions & 2 deletions rapidsai/base-runtime.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ SHELL ["/bin/bash", "-c"]
# Add a condarc for channels and override settings
RUN if [ "${RAPIDS_CHANNEL}" == "rapidsai" ] ; then \
echo -e "\
auto_update_conda: False \n\
ssl_verify: False \n\
channels: \n\
- gpuci \n\
Expand All @@ -31,6 +32,7 @@ channels: \n\
&& cat /opt/conda/.condarc ; \
else \
echo -e "\
auto_update_conda: False \n\
ssl_verify: False \n\
channels: \n\
- gpuci \n\
Expand All @@ -57,8 +59,7 @@ RUN gpuci_conda_retry create --no-default-packages --override-channels -n rapids
libstdcxx-ng=${BUILD_STACK_VER} \
python=${PYTHON_VER} \
"setuptools<50" \
&& sed -i 's/conda activate base/conda activate rapids/g' ~/.bashrc \
&& cp /opt/conda/.condarc /opt/conda/envs/rapids/
&& sed -i 's/conda activate base/conda activate rapids/g' ~/.bashrc

# Create symlink for old scripts expecting `gdf` conda env
RUN ln -s /opt/conda/envs/rapids /opt/conda/envs/gdf
Expand Down
5 changes: 3 additions & 2 deletions rapidsai/devel-centos7.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ SHELL ["/bin/bash", "-c"]
# Add a condarc for channels and override settings
RUN if [ "${RAPIDS_CHANNEL}" == "rapidsai" ] ; then \
echo -e "\
auto_update_conda: False \n\
ssl_verify: False \n\
channels: \n\
- gpuci \n\
Expand All @@ -39,6 +40,7 @@ channels: \n\
&& cat /opt/conda/.condarc ; \
else \
echo -e "\
auto_update_conda: False \n\
ssl_verify: False \n\
channels: \n\
- gpuci \n\
Expand Down Expand Up @@ -89,8 +91,7 @@ RUN gpuci_conda_retry create --no-default-packages --override-channels -n rapids
libstdcxx-ng=${BUILD_STACK_VER} \
python=${PYTHON_VER} \
"setuptools<50" \
&& sed -i 's/conda activate base/conda activate rapids/g' ~/.bashrc \
&& cp /opt/conda/.condarc /opt/conda/envs/rapids/
&& sed -i 's/conda activate base/conda activate rapids/g' ~/.bashrc

# Create symlink for old scripts expecting `gdf` conda env
RUN ln -s /opt/conda/envs/rapids /opt/conda/envs/gdf
Expand Down
5 changes: 3 additions & 2 deletions rapidsai/devel.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ SHELL ["/bin/bash", "-c"]
# Add a condarc for channels and override settings
RUN if [ "${RAPIDS_CHANNEL}" == "rapidsai" ] ; then \
echo -e "\
auto_update_conda: False \n\
ssl_verify: False \n\
channels: \n\
- gpuci \n\
Expand All @@ -37,6 +38,7 @@ channels: \n\
&& cat /opt/conda/.condarc ; \
else \
echo -e "\
auto_update_conda: False \n\
ssl_verify: False \n\
channels: \n\
- gpuci \n\
Expand Down Expand Up @@ -106,8 +108,7 @@ RUN gpuci_conda_retry create --no-default-packages --override-channels -n rapids
libstdcxx-ng=${BUILD_STACK_VER} \
python=${PYTHON_VER} \
"setuptools<50" \
&& sed -i 's/conda activate base/conda activate rapids/g' ~/.bashrc \
&& cp /opt/conda/.condarc /opt/conda/envs/rapids/
&& sed -i 's/conda activate base/conda activate rapids/g' ~/.bashrc

# Create symlink for old scripts expecting `gdf` conda env
RUN ln -s /opt/conda/envs/rapids /opt/conda/envs/gdf
Expand Down