diff --git a/base.dockerfile b/base.dockerfile index b1914b0..26dab5c 100644 --- a/base.dockerfile +++ b/base.dockerfile @@ -61,7 +61,7 @@ EOF # Create non-root user RUN < /etc/sudoers.d/sudo-nopasswd -useradd --create-home -G sudo,video --shell /bin/bash rocm +useradd --create-home -G sudo,video,render --shell /bin/bash rocm EOF USER rocm WORKDIR /home/rocm diff --git a/fix-rocblas.sh b/fix-rocblas.sh index 9bcfd1c..277d92f 100644 --- a/fix-rocblas.sh +++ b/fix-rocblas.sh @@ -22,5 +22,6 @@ for PKG in "${PKGS[@]}"; do OUT_NAME="${PKG}_${TARGET_VER}_amd64.deb" dpkg-deb -b $DIR $OUT_NAME dpkg -i $OUT_NAME + cp $OUT_NAME /home/rocm/ apt-mark hold ${PKG} done