forked from bo01ean/nvidia-jetson-docker-flasher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
24 lines (19 loc) · 749 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM ubuntu:16.04
LABEL maintainer "solosuper"
RUN apt update && apt-get install -y --no-install-recommends \
bzip2 \
sudo \
&& apt-get clean
# Copy 'Jetson TX1 64-bit Driver Package'
COPY Tegra210_Linux_R24.2.1_aarch64.tbz2 /jetson/
# Copy 'Sample Root Filesystem'
COPY Tegra_Linux_Sample-Root-Filesystem_R24.2.1_aarch64.tbz2 /jetson/
ENV L4T_RELEASE_PACKAGE=Tegra210_Linux_R24.2.1_aarch64.tbz2
ENV SAMPLE_FS_PACKAGE=Tegra_Linux_Sample-Root-Filesystem_R24.2.1_aarch64.tbz2
WORKDIR /jetson/
RUN tar xpf ${L4T_RELEASE_PACKAGE}
WORKDIR /jetson/Linux_for_Tegra/rootfs/
RUN tar xpf /jetson/${SAMPLE_FS_PACKAGE}
WORKDIR /jetson/Linux_for_Tegra/
RUN /bin/bash apply_binaries.sh
RUN rm /jetson/${L4T_RELEASE_PACKAGE} /jetson/${SAMPLE_FS_PACKAGE}