Skip to content

Commit

Permalink
remove deprecated distutils and conda usage from docker image build s…
Browse files Browse the repository at this point in the history
…cripts
  • Loading branch information
speediedan committed Dec 18, 2024
1 parent b7f1bdb commit 690d9f0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion dockers/base-cuda/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ RUN apt-get update -qq --fix-missing && \
add-apt-repository ppa:deadsnakes/ppa && \
apt-get install -y \
python${PYTHON_VERSION} \
python${PYTHON_VERSION}-distutils \
python${PYTHON_VERSION}-dev \
python3-pip \
&& \
Expand Down
3 changes: 0 additions & 3 deletions dockers/docker_images_main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ registry_name=$2
build_new="${3:-1}"
push_remote="${4:-1}"

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
conda deactivate

d=`date +%Y%m%d%H%M%S`
tmp_docker_build_log_dir="/tmp"
docker_build_log="${tmp_docker_build_log_dir}/fts_update_docker_main_images_${d}.log"
Expand Down
5 changes: 0 additions & 5 deletions dockers/docker_images_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ registry_name=$2
build_new="${3:-1}"
push_remote="${4:-1}"

# setup shell functions for conda, uses conda's .bashrc resident defined hook to execute conda init setup to enable
# subsequent conda command usage
eval "$(conda shell.bash hook)"
conda deactivate

d=`date +%Y%m%d%H%M%S`
tmp_docker_build_log_dir="/tmp"
docker_build_log="${tmp_docker_build_log_dir}/fts_build_docker_release_images_${d}.log"
Expand Down

0 comments on commit 690d9f0

Please sign in to comment.