Skip to content

Commit 690d9f0

Browse files
committed
remove deprecated distutils and conda usage from docker image build scripts
1 parent b7f1bdb commit 690d9f0

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

dockers/base-cuda/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ RUN apt-get update -qq --fix-missing && \
4949
add-apt-repository ppa:deadsnakes/ppa && \
5050
apt-get install -y \
5151
python${PYTHON_VERSION} \
52-
python${PYTHON_VERSION}-distutils \
5352
python${PYTHON_VERSION}-dev \
5453
python3-pip \
5554
&& \

dockers/docker_images_main.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ registry_name=$2
1212
build_new="${3:-1}"
1313
push_remote="${4:-1}"
1414

15-
eval "$(conda shell.bash hook)" # setup shell functions for conda, uses conda's .bashrc resident defined hook to execute conda init setup to enable subsequent conda command usage
16-
conda deactivate
17-
1815
d=`date +%Y%m%d%H%M%S`
1916
tmp_docker_build_log_dir="/tmp"
2017
docker_build_log="${tmp_docker_build_log_dir}/fts_update_docker_main_images_${d}.log"

dockers/docker_images_release.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ registry_name=$2
1212
build_new="${3:-1}"
1313
push_remote="${4:-1}"
1414

15-
# setup shell functions for conda, uses conda's .bashrc resident defined hook to execute conda init setup to enable
16-
# subsequent conda command usage
17-
eval "$(conda shell.bash hook)"
18-
conda deactivate
19-
2015
d=`date +%Y%m%d%H%M%S`
2116
tmp_docker_build_log_dir="/tmp"
2217
docker_build_log="${tmp_docker_build_log_dir}/fts_build_docker_release_images_${d}.log"

0 commit comments

Comments
 (0)