Skip to content

Commit

Permalink
Add user argument to docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
pnunna93 authored Jun 10, 2024
1 parent e8c9bde commit 753c3c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/build-test-rocm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -xeuo pipefail
if [ "${build_os:0:6}" == ubuntu ]; then
image=rocm/pytorch:latest
echo "Using image $image"
docker run --platform "linux/$build_arch" -i -w /src -v "$PWD:/src" "$image" sh -c \
docker run --platform "linux/$build_arch" -i -w /src -v "$PWD:/src" --user $USER "$image" sh -c \
"apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends cmake \
&& cmake -DCOMPUTE_BACKEND=hip . \
Expand Down

0 comments on commit 753c3c8

Please sign in to comment.