-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3ce5bb9
commit debc8ea
Showing
3 changed files
with
84 additions
and
4 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
FROM docker.io/arm64v8/ubuntu:22.04 as nvidia-l4t-base | ||
|
||
ARG RELEASE=r36.2 | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
RUN apt-get update && \ | ||
apt-get upgrade -y && \ | ||
apt-get install -qq -y --no-install-recommends \ | ||
bc \ | ||
bzip2 \ | ||
can-utils \ | ||
ca-certificates \ | ||
freeglut3-dev \ | ||
gnupg2 \ | ||
gstreamer1.0-alsa \ | ||
gstreamer1.0-libav \ | ||
gstreamer1.0-plugins-bad \ | ||
gstreamer1.0-plugins-base \ | ||
gstreamer1.0-plugins-good \ | ||
gstreamer1.0-plugins-ugly \ | ||
gstreamer1.0-tools \ | ||
i2c-tools \ | ||
iw \ | ||
kbd \ | ||
kmod \ | ||
language-pack-en-base \ | ||
libapt-pkg-dev \ | ||
libcanberra-gtk3-module \ | ||
libgles2 \ | ||
libglu1-mesa-dev \ | ||
libglvnd-dev \ | ||
libgtk-3-0 \ | ||
libpython2.7 \ | ||
libudev1 \ | ||
libvulkan1 \ | ||
libzmq5 \ | ||
mtd-utils \ | ||
parted \ | ||
pciutils \ | ||
python3 \ | ||
python3-pexpect \ | ||
python3-distutils \ | ||
python3-numpy \ | ||
sox \ | ||
udev \ | ||
vulkan-tools \ | ||
wget \ | ||
wireless-tools wpasupplicant && \ | ||
rm -rf /var/lib/apt/lists/* && apt-get clean | ||
|
||
COPY jetson-ota-public.key /etc/jetson-ota-public.key | ||
RUN apt-key add /etc/jetson-ota-public.key | ||
RUN echo "deb https://repo.download.nvidia.com/jetson/common $RELEASE main" >> /etc/apt/sources.list | ||
|
||
RUN echo "/usr/lib/aarch64-linux-gnu/tegra" >> /etc/ld.so.conf.d/nvidia-tegra.conf && \ | ||
echo "/usr/lib/aarch64-linux-gnu/tegra-egl" >> /etc/ld.so.conf.d/nvidia-tegra.conf | ||
|
||
RUN rm /usr/share/glvnd/egl_vendor.d/50_mesa.json | ||
RUN mkdir -p /usr/share/glvnd/egl_vendor.d/ && echo '\ | ||
{\ | ||
"file_format_version" : "1.0.0",\ | ||
"ICD" : {\ | ||
"library_path" : "libEGL_nvidia.so.0"\ | ||
}\ | ||
}' > /usr/share/glvnd/egl_vendor.d/10_nvidia.json | ||
|
||
RUN mkdir -p /usr/share/egl/egl_external_platform.d/ && echo '\ | ||
{\ | ||
"file_format_version" : "1.0.0",\ | ||
"ICD" : {\ | ||
"library_path" : "libnvidia-egl-wayland.so.1"\ | ||
}\ | ||
}' > /usr/share/egl/egl_external_platform.d/nvidia_wayland.json | ||
|
||
RUN ldconfig | ||
|
||
ENV NVIDIA_VISIBLE_DEVICES all | ||
ENV NVIDIA_DRIVER_CAPABILITIES all | ||
|
||
CMD ["/bin/bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters