File tree Expand file tree Collapse file tree 1 file changed +32
-3
lines changed Expand file tree Collapse file tree 1 file changed +32
-3
lines changed Original file line number Diff line number Diff line change 1- FROM balenalib/jetson-nano- ubuntu:bionic
1+ FROM ubuntu:bionic-20230530
22
33# Prevent apt-get prompting for input
44ENV DEBIAN_FRONTEND noninteractive
5+
6+ # From balenalib base:
7+ RUN apt-get update && apt-get install -y --no-install-recommends \
8+ less \
9+ kmod \
10+ nano \
11+ net-tools \
12+ sudo \
13+ ca-certificates \
14+ gnupg \
15+ dirmngr \
16+ inetutils-ping \
17+ netbase \
18+ curl \
19+ udev \
20+ ifupdown \
21+ i2c-tools \
22+ usbutils \
23+ $( \
24+ if apt-cache show 'iproute' 2>/dev/null | grep -q '^Version:' ; then \
25+ echo 'iproute' ; \
26+ else \
27+ echo 'iproute2' ; \
28+ fi \
29+ ) \
30+ && rm -rf /var/lib/apt/lists/* \
31+ && c_rehash
532
633# Update to 32.7 repository in case the base image is using 32.6
734RUN sed -i 's/r32.6 main/r32.7 main/g' /etc/apt/sources.list.d/nvidia.list
@@ -55,5 +82,7 @@ RUN echo "#!/bin/bash" > /etc/X11/xinit/xserverrc \
5582# # GPU Device 0: "Maxwell" with compute capability 5.3
5683# # Average clocks/block = 3294.203125
5784
58- # Start XFCE desktop
59- CMD ["startx" ]
85+ COPY entry.sh /usr/bin/entry.sh
86+
87+ # Start entry script
88+ CMD ["bash" , "/usr/bin/entry.sh" ]
You can’t perform that action at this time.
0 commit comments