From 753c3c8c65203744913eda6ade8c715e0b56d076 Mon Sep 17 00:00:00 2001 From: pnunna93 <104791500+pnunna93@users.noreply.github.com> Date: Mon, 10 Jun 2024 12:55:18 -0500 Subject: [PATCH] Add user argument to docker container --- .github/scripts/build-test-rocm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/build-test-rocm.sh b/.github/scripts/build-test-rocm.sh index 52a77ea97..aba657577 100644 --- a/.github/scripts/build-test-rocm.sh +++ b/.github/scripts/build-test-rocm.sh @@ -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 . \