Skip to content

Commit

Permalink
[ubuntu24.04] grant _apt user root privileges
Browse files Browse the repository at this point in the history
Signed-off-by: Tariq Ibrahim <[email protected]>
  • Loading branch information
tariq1890 committed Dec 11, 2024
1 parent e49821d commit 5261e38
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ubuntu24.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ ADD install.sh /tmp
RUN apt-key del 7fa2af80 && OS_ARCH=${TARGETARCH/amd64/x86_64} && OS_ARCH=${OS_ARCH/arm64/sbsa} && \
apt-key adv --fetch-keys "https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/${OS_ARCH}/3bf863cc.pub"

RUN /tmp/install.sh depinstall
RUN usermod -o -u 0 -g 0 _apt && \
/tmp/install.sh depinstall


COPY nvidia-driver /usr/local/bin

Expand Down

0 comments on commit 5261e38

Please sign in to comment.