From be29ac77f849825b2fd7ae4b69d12ee6a1f4384d Mon Sep 17 00:00:00 2001 From: jakki Date: Mon, 25 Nov 2024 17:44:36 +0200 Subject: [PATCH] Remove unnecessary part --- docker/Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 5fff586895..a50c84e2d0 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -42,7 +42,7 @@ RUN --mount=type=cache,id=apt-dev,target=/var/cache/apt \ apt-get upgrade -y && \ apt-get install software-properties-common -y && \ add-apt-repository -y ppa:deadsnakes/ppa && \ - apt remove python-pip python3-pip && \ + apt remove -y python-pip python3-pip && \ DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \ ca-certificates \ g++ \ @@ -95,8 +95,6 @@ RUN \ # Install ROCm version specific binary when ROCm version is specified as a build arg if [ "$USE_ROCM_VERSION" ]; then \ python ./ts_scripts/install_dependencies.py --rocm $USE_ROCM_VERSION\ - && cd /opt/rocm/share/amd_smi \ - && python -m pip install . ;\ # Install the binary with the latest CPU image on a ROCm base image else \ python ./ts_scripts/install_dependencies.py;\