Content-Length: 230187 | pFad | http://github.com/PhysicsX/QTonRaspberryPi/commit/f2551f3b7c90549408094143da020f761ac67aac

0C Single run for keys · PhysicsX/QTonRaspberryPi@f2551f3 · GitHub
Skip to content

Commit

Permalink
Single run for keys
Browse files Browse the repository at this point in the history
  • Loading branch information
PhysicsX committed Dec 3, 2024
1 parent 1e83cad commit f2551f3
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions QtJetsonNx6.6.3/DockerFileNx
Original file line number Diff line number Diff line change
Expand Up @@ -24,32 +24,35 @@ RUN apt-get update && apt-get install -y \
gnupg \
software-properties-common | tee -a /build.log

# ARG UBUNTU_VERSION_SHORT
ARG UBUNTU_VERSION_SHORT

# Use the manually defined short version to download the CUDA repository pin file
RUN wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu${UBUNTU_VERSION_SHORT}/x86_64/cuda-ubuntu${UBUNTU_VERSION_SHORT}.pin && \
mv cuda-ubuntu${UBUNTU_VERSION_SHORT}.pin /etc/apt/preferences.d/cuda-repository-pin-600

# ARG UBUNTU_VERSION_SHORT

# Add the new NVIDIA public key for CUDA repository
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu${UBUNTU_VERSION_SHORT}/x86_64/3bf863cc.pub | tee -a /build.log

# Add the CUDA repository to the sources list
RUN add-apt-repository "deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu${UBUNTU_VERSION_SHORT}/x86_64/ /" | tee -a /build.log

# Add NVIDIA repositories and keyring for Jetson
RUN echo "deb https://repo.download.nvidia.com/jetson/common r32.7 main" > /etc/apt/sources.list.d/nvidia-l4t-apt-source.list && \
RUN \
# Use the manually defined short version to download the CUDA repository pin file \
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu${UBUNTU_VERSION_SHORT}/x86_64/cuda-ubuntu${UBUNTU_VERSION_SHORT}.pin && \
mv cuda-ubuntu${UBUNTU_VERSION_SHORT}.pin /etc/apt/preferences.d/cuda-repository-pin-600 && \
\
# Add the new NVIDIA public key for CUDA repository \
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu${UBUNTU_VERSION_SHORT}/x86_64/3bf863cc.pub | tee -a /build.log && \
\
# Add the CUDA repository to the sources list \
add-apt-repository "deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu${UBUNTU_VERSION_SHORT}/x86_64/ /" | tee -a /build.log && \
\
# Add NVIDIA repositories and keyring for Jetson \
echo "deb https://repo.download.nvidia.com/jetson/common r32.7 main" > /etc/apt/sources.list.d/nvidia-l4t-apt-source.list && \
echo "deb https://repo.download.nvidia.com/jetson/t194 r32.7 main" >> /etc/apt/sources.list.d/nvidia-l4t-apt-source.list && \
wget -qO - https://repo.download.nvidia.com/jetson/jetson-ota-public.asc | apt-key add -

ARG CUDA_VERSION

# Install NVIDIA drivers and libraries
RUN apt-get update && apt-get install -y \
cuda-toolkit-${CUDA_VERSION} \
libcudnn8 \
libnvinfer8 \
nvidia-l4t-core | tee -a /build.log

ARG GCC_VERSION

# Install additional dependencies for cross-compilation
RUN apt-get update && apt-get install -y \
'^libxcb.*-dev' \
Expand Down

0 comments on commit f2551f3

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/PhysicsX/QTonRaspberryPi/commit/f2551f3b7c90549408094143da020f761ac67aac

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy