[rocprofiler-sdk] Use venv for fixing CI docker image workflow (#2955)

* use python virtual env for aws cli

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* use 7.2 amdgpu for ubuntu

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Venkateshwar Reddy Kandula
2026-01-29 08:53:15 -06:00
zatwierdzone przez GitHub
rodzic 4c458fae9c
commit a7c3e8392a
2 zmienionych plików z 6 dodań i 7 usunięć
@@ -24,8 +24,8 @@ RUN set-euo pipefail; \
apt-get install -y curl wget gpg python3 python3-pip build-essential coreutils software-properties-common cmake g++-11 g++-12 libdw-dev libsqlite3-dev libdrm-dev file autoconf pkg-config rpm libzstd-dev && \
add-apt-repository ppa:git-core/ppa && \
mkdir -p /etc/apt/keyrings && \
wget -N -P /tmp/ https://repo.radeon.com/amdgpu-install/latest/ubuntu/jammy/amdgpu-install_7.1.1.70101-1_all.deb && \
apt-get install -y /tmp/amdgpu-install_7.1.1.70101-1_all.deb && \
wget -N -P /tmp/ https://repo.radeon.com/amdgpu-install/7.2/ubuntu/jammy/amdgpu-install_7.2.70200-1_all.deb && \
apt-get install -y /tmp/amdgpu-install_7.2.70200-1_all.deb && \
apt-get update && \
apt-get install -y git rocm-openmp-sdk libva-amdgpu-dev rocm-llvm-dev && \
python3 -m pip install -U awscli pipx && \