Skip to content

Commit

Permalink
Remove unnecessary part
Browse files Browse the repository at this point in the history
  • Loading branch information
jakki-amd committed Nov 25, 2024
1 parent 2357eb2 commit be29ac7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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++ \
Expand Down Expand Up @@ -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;\
Expand Down

0 comments on commit be29ac7

Please sign in to comment.