Skip to content

Commit

Permalink
Merge pull request #16 from idavis/feature/rootfs
Browse files Browse the repository at this point in the history
Feature/rootfs
  • Loading branch information
idavis authored Aug 8, 2019
2 parents f8609e9 + c3b9d07 commit 40c035d
Show file tree
Hide file tree
Showing 21 changed files with 286 additions and 82 deletions.
5 changes: 4 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
/dist
/dist
*.deb
*.tbz2
.env
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.env
*.cid
dist/
dist/
*.deb
*.tbz2
23 changes: 22 additions & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
}
},
{
"label": "make <jetpack depependencies from folder>",
"label": "make <jetpack dependencies from folder>",
"type": "shell",
"group": "build",
"command": "make",
Expand Down Expand Up @@ -210,6 +210,22 @@
"message": 2
}
}
},
{
"label": "make <rootfs from file>",
"type": "shell",
"group": "build",
"command": "make",
"args": [
"from-file-rootfs-${input:pickRootFsFile}"
],
"problemMatcher":{
"pattern":{
"regexp": "^(make:)\\s\\*\\*\\*(.*)$",
"kind": "file",
"message": 2
}
}
}
],
"inputs": [
Expand Down Expand Up @@ -377,6 +393,11 @@
"bionic-base-20190426"
]
},
{
"id": "pickRootFsFile",
"type": "promptString",
"description": "What is the name you want to use for the container image?"
},
{
"id": "pickCtiDependencyBuilds",
"type": "pickString",
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ image-%:
rootfs-%:
make -C $(CURDIR)/flash/rootfs $*-rootfs

from-file-rootfs-%:
make -C $(CURDIR)/flash/rootfs $*-from-file-rootfs

# Dependencies

deps-%:
Expand Down
12 changes: 9 additions & 3 deletions docker/jetpack/4.2.1/jax/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ RUN echo "0e12b2f53c7cbe4233c2da73f7d8e6b4 ${CUDA_TOOLKIT_PKG}" | md5sum -c - &&
apt-get clean && \
rm -rf /var/lib/apt/lists/*

RUN grep -q "export PATH=.*/usr/local/cuda-10/bin" ~/.bashrc || echo "export PATH=/usr/local/cuda-10/bin:$PATH">>~/.bashrc && \
grep -q "export LD_LIBRARY_PATH=/usr/local/cuda-10/lib64" ~/.bashrc || echo "export LD_LIBRARY_PATH=/usr/local/cuda-10/lib64:$LD_LIBRARY_PATH" >> ~/.bashrc && \
export LD_LIBRARY_PATH=/usr/local/cuda-10/lib64:${LD_LIBRARY_PATH}
RUN export LD_LIBRARY_PATH=/usr/local/cuda/lib64:${LD_LIBRARY_PATH} && \
export LIBRARY_PATH=/usr/local/cuda/lib64/stubs && \
grep -q "export PATH=.*/usr/local/cuda/bin" ~/.bashrc || echo "export PATH=/usr/local/cuda/bin:$PATH">>~/.bashrc && \
grep -q "export LD_LIBRARY_PATH=/usr/local/cuda/lib64" ~/.bashrc || echo "export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH" >> ~/.bashrc && \
grep -q "export PATH=.*/usr/local/cuda/bin" /etc/skel/.bashrc || echo "export PATH=/usr/local/cuda/bin:$PATH">>/etc/skel/.bashrc && \
grep -q "export LD_LIBRARY_PATH=/usr/local/cuda/lib64" /etc/skel/.bashrc || echo "export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH" >> /etc/skel/.bashrc

ENV NVIDIA_VISIBLE_DEVICES all
ENV NVIDIA_DRIVER_CAPABILITIES all
12 changes: 9 additions & 3 deletions docker/jetpack/4.2.1/nano-dev/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ RUN echo "0e12b2f53c7cbe4233c2da73f7d8e6b4 ${CUDA_TOOLKIT_PKG}" | md5sum -c - &&
apt-get clean && \
rm -rf /var/lib/apt/lists/*

RUN grep -q "export PATH=.*/usr/local/cuda-10/bin" ~/.bashrc || echo "export PATH=/usr/local/cuda-10/bin:$PATH">>~/.bashrc && \
grep -q "export LD_LIBRARY_PATH=/usr/local/cuda-10/lib64" ~/.bashrc || echo "export LD_LIBRARY_PATH=/usr/local/cuda-10/lib64:$LD_LIBRARY_PATH" >> ~/.bashrc && \
export LD_LIBRARY_PATH=/usr/local/cuda-10/lib64:${LD_LIBRARY_PATH}
RUN export LD_LIBRARY_PATH=/usr/local/cuda/lib64:${LD_LIBRARY_PATH} && \
export LIBRARY_PATH=/usr/local/cuda/lib64/stubs && \
grep -q "export PATH=.*/usr/local/cuda/bin" ~/.bashrc || echo "export PATH=/usr/local/cuda/bin:$PATH">>~/.bashrc && \
grep -q "export LD_LIBRARY_PATH=/usr/local/cuda/lib64" ~/.bashrc || echo "export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH" >> ~/.bashrc && \
grep -q "export PATH=.*/usr/local/cuda/bin" /etc/skel/.bashrc || echo "export PATH=/usr/local/cuda/bin:$PATH">>/etc/skel/.bashrc && \
grep -q "export LD_LIBRARY_PATH=/usr/local/cuda/lib64" /etc/skel/.bashrc || echo "export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH" >> /etc/skel/.bashrc

ENV NVIDIA_VISIBLE_DEVICES all
ENV NVIDIA_DRIVER_CAPABILITIES all
12 changes: 9 additions & 3 deletions docker/jetpack/4.2.1/nano/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ RUN echo "0e12b2f53c7cbe4233c2da73f7d8e6b4 ${CUDA_TOOLKIT_PKG}" | md5sum -c - &&
apt-get clean && \
rm -rf /var/lib/apt/lists/*

RUN grep -q "export PATH=.*/usr/local/cuda-10/bin" ~/.bashrc || echo "export PATH=/usr/local/cuda-10/bin:$PATH">>~/.bashrc && \
grep -q "export LD_LIBRARY_PATH=/usr/local/cuda-10/lib64" ~/.bashrc || echo "export LD_LIBRARY_PATH=/usr/local/cuda-10/lib64:$LD_LIBRARY_PATH" >> ~/.bashrc && \
export LD_LIBRARY_PATH=/usr/local/cuda-10/lib64:${LD_LIBRARY_PATH}
RUN export LD_LIBRARY_PATH=/usr/local/cuda/lib64:${LD_LIBRARY_PATH} && \
export LIBRARY_PATH=/usr/local/cuda/lib64/stubs && \
grep -q "export PATH=.*/usr/local/cuda/bin" ~/.bashrc || echo "export PATH=/usr/local/cuda/bin:$PATH">>~/.bashrc && \
grep -q "export LD_LIBRARY_PATH=/usr/local/cuda/lib64" ~/.bashrc || echo "export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH" >> ~/.bashrc && \
grep -q "export PATH=.*/usr/local/cuda/bin" /etc/skel/.bashrc || echo "export PATH=/usr/local/cuda/bin:$PATH">>/etc/skel/.bashrc && \
grep -q "export LD_LIBRARY_PATH=/usr/local/cuda/lib64" /etc/skel/.bashrc || echo "export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH" >> /etc/skel/.bashrc

ENV NVIDIA_VISIBLE_DEVICES all
ENV NVIDIA_DRIVER_CAPABILITIES all
12 changes: 9 additions & 3 deletions docker/jetpack/4.2.1/tx1/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ RUN echo "0e12b2f53c7cbe4233c2da73f7d8e6b4 ${CUDA_TOOLKIT_PKG}" | md5sum -c - &&
apt-get clean && \
rm -rf /var/lib/apt/lists/*

RUN grep -q "export PATH=.*/usr/local/cuda-10/bin" ~/.bashrc || echo "export PATH=/usr/local/cuda-10/bin:$PATH">>~/.bashrc && \
grep -q "export LD_LIBRARY_PATH=/usr/local/cuda-10/lib64" ~/.bashrc || echo "export LD_LIBRARY_PATH=/usr/local/cuda-10/lib64:$LD_LIBRARY_PATH" >> ~/.bashrc && \
export LD_LIBRARY_PATH=/usr/local/cuda-10/lib64:${LD_LIBRARY_PATH}
RUN export LD_LIBRARY_PATH=/usr/local/cuda/lib64:${LD_LIBRARY_PATH} && \
export LIBRARY_PATH=/usr/local/cuda/lib64/stubs && \
grep -q "export PATH=.*/usr/local/cuda/bin" ~/.bashrc || echo "export PATH=/usr/local/cuda/bin:$PATH">>~/.bashrc && \
grep -q "export LD_LIBRARY_PATH=/usr/local/cuda/lib64" ~/.bashrc || echo "export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH" >> ~/.bashrc && \
grep -q "export PATH=.*/usr/local/cuda/bin" /etc/skel/.bashrc || echo "export PATH=/usr/local/cuda/bin:$PATH">>/etc/skel/.bashrc && \
grep -q "export LD_LIBRARY_PATH=/usr/local/cuda/lib64" /etc/skel/.bashrc || echo "export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH" >> /etc/skel/.bashrc

ENV NVIDIA_VISIBLE_DEVICES all
ENV NVIDIA_DRIVER_CAPABILITIES all
12 changes: 9 additions & 3 deletions docker/jetpack/4.2.1/tx2-4gb/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ RUN echo "0e12b2f53c7cbe4233c2da73f7d8e6b4 ${CUDA_TOOLKIT_PKG}" | md5sum -c - &&
apt-get clean && \
rm -rf /var/lib/apt/lists/*

RUN grep -q "export PATH=.*/usr/local/cuda-10/bin" ~/.bashrc || echo "export PATH=/usr/local/cuda-10/bin:$PATH">>~/.bashrc && \
grep -q "export LD_LIBRARY_PATH=/usr/local/cuda-10/lib64" ~/.bashrc || echo "export LD_LIBRARY_PATH=/usr/local/cuda-10/lib64:$LD_LIBRARY_PATH" >> ~/.bashrc && \
export LD_LIBRARY_PATH=/usr/local/cuda-10/lib64:${LD_LIBRARY_PATH}
RUN export LD_LIBRARY_PATH=/usr/local/cuda/lib64:${LD_LIBRARY_PATH} && \
export LIBRARY_PATH=/usr/local/cuda/lib64/stubs && \
grep -q "export PATH=.*/usr/local/cuda/bin" ~/.bashrc || echo "export PATH=/usr/local/cuda/bin:$PATH">>~/.bashrc && \
grep -q "export LD_LIBRARY_PATH=/usr/local/cuda/lib64" ~/.bashrc || echo "export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH" >> ~/.bashrc && \
grep -q "export PATH=.*/usr/local/cuda/bin" /etc/skel/.bashrc || echo "export PATH=/usr/local/cuda/bin:$PATH">>/etc/skel/.bashrc && \
grep -q "export LD_LIBRARY_PATH=/usr/local/cuda/lib64" /etc/skel/.bashrc || echo "export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH" >> /etc/skel/.bashrc

ENV NVIDIA_VISIBLE_DEVICES all
ENV NVIDIA_DRIVER_CAPABILITIES all
12 changes: 9 additions & 3 deletions docker/jetpack/4.2.1/tx2/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ RUN echo "0e12b2f53c7cbe4233c2da73f7d8e6b4 ${CUDA_TOOLKIT_PKG}" | md5sum -c - &&
apt-get clean && \
rm -rf /var/lib/apt/lists/*

RUN grep -q "export PATH=.*/usr/local/cuda-10/bin" ~/.bashrc || echo "export PATH=/usr/local/cuda-10/bin:$PATH">>~/.bashrc && \
grep -q "export LD_LIBRARY_PATH=/usr/local/cuda-10/lib64" ~/.bashrc || echo "export LD_LIBRARY_PATH=/usr/local/cuda-10/lib64:$LD_LIBRARY_PATH" >> ~/.bashrc && \
export LD_LIBRARY_PATH=/usr/local/cuda-10/lib64:${LD_LIBRARY_PATH}
RUN export LD_LIBRARY_PATH=/usr/local/cuda/lib64:${LD_LIBRARY_PATH} && \
export LIBRARY_PATH=/usr/local/cuda/lib64/stubs && \
grep -q "export PATH=.*/usr/local/cuda/bin" ~/.bashrc || echo "export PATH=/usr/local/cuda/bin:$PATH">>~/.bashrc && \
grep -q "export LD_LIBRARY_PATH=/usr/local/cuda/lib64" ~/.bashrc || echo "export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH" >> ~/.bashrc && \
grep -q "export PATH=.*/usr/local/cuda/bin" /etc/skel/.bashrc || echo "export PATH=/usr/local/cuda/bin:$PATH">>/etc/skel/.bashrc && \
grep -q "export LD_LIBRARY_PATH=/usr/local/cuda/lib64" /etc/skel/.bashrc || echo "export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH" >> /etc/skel/.bashrc

ENV NVIDIA_VISIBLE_DEVICES all
ENV NVIDIA_DRIVER_CAPABILITIES all
12 changes: 9 additions & 3 deletions docker/jetpack/4.2.1/tx2i/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ RUN echo "0e12b2f53c7cbe4233c2da73f7d8e6b4 ${CUDA_TOOLKIT_PKG}" | md5sum -c - &&
apt-get clean && \
rm -rf /var/lib/apt/lists/*

RUN grep -q "export PATH=.*/usr/local/cuda-10/bin" ~/.bashrc || echo "export PATH=/usr/local/cuda-10/bin:$PATH">>~/.bashrc && \
grep -q "export LD_LIBRARY_PATH=/usr/local/cuda-10/lib64" ~/.bashrc || echo "export LD_LIBRARY_PATH=/usr/local/cuda-10/lib64:$LD_LIBRARY_PATH" >> ~/.bashrc && \
export LD_LIBRARY_PATH=/usr/local/cuda-10/lib64:${LD_LIBRARY_PATH}
RUN export LD_LIBRARY_PATH=/usr/local/cuda/lib64:${LD_LIBRARY_PATH} && \
export LIBRARY_PATH=/usr/local/cuda/lib64/stubs && \
grep -q "export PATH=.*/usr/local/cuda/bin" ~/.bashrc || echo "export PATH=/usr/local/cuda/bin:$PATH">>~/.bashrc && \
grep -q "export LD_LIBRARY_PATH=/usr/local/cuda/lib64" ~/.bashrc || echo "export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH" >> ~/.bashrc && \
grep -q "export PATH=.*/usr/local/cuda/bin" /etc/skel/.bashrc || echo "export PATH=/usr/local/cuda/bin:$PATH">>/etc/skel/.bashrc && \
grep -q "export LD_LIBRARY_PATH=/usr/local/cuda/lib64" /etc/skel/.bashrc || echo "export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH" >> /etc/skel/.bashrc

ENV NVIDIA_VISIBLE_DEVICES all
ENV NVIDIA_DRIVER_CAPABILITIES all
12 changes: 9 additions & 3 deletions docker/jetpack/4.2/jax/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,13 @@ RUN echo "5e3eedc3707305f9022d41754d6becde ${CUDA_TOOLKIT_PKG}" | md5sum -c - &&
apt-get clean && \
rm -rf /var/lib/apt/lists/*

RUN grep -q "export PATH=.*/usr/local/cuda-10/bin" ~/.bashrc || echo "export PATH=/usr/local/cuda-10/bin:$PATH">>~/.bashrc && \
grep -q "export LD_LIBRARY_PATH=/usr/local/cuda-10/lib64" ~/.bashrc || echo "export LD_LIBRARY_PATH=/usr/local/cuda-10/lib64:$LD_LIBRARY_PATH" >> ~/.bashrc && \
export LD_LIBRARY_PATH=/usr/local/cuda-10/lib64:${LD_LIBRARY_PATH}
RUN export LD_LIBRARY_PATH=/usr/local/cuda/lib64:${LD_LIBRARY_PATH} && \
export LIBRARY_PATH=/usr/local/cuda/lib64/stubs && \
grep -q "export PATH=.*/usr/local/cuda/bin" ~/.bashrc || echo "export PATH=/usr/local/cuda/bin:$PATH">>~/.bashrc && \
grep -q "export LD_LIBRARY_PATH=/usr/local/cuda/lib64" ~/.bashrc || echo "export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH" >> ~/.bashrc && \
grep -q "export PATH=.*/usr/local/cuda/bin" /etc/skel/.bashrc || echo "export PATH=/usr/local/cuda/bin:$PATH">>/etc/skel/.bashrc && \
grep -q "export LD_LIBRARY_PATH=/usr/local/cuda/lib64" /etc/skel/.bashrc || echo "export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH" >> /etc/skel/.bashrc

ENV NVIDIA_VISIBLE_DEVICES all
ENV NVIDIA_DRIVER_CAPABILITIES all

13 changes: 9 additions & 4 deletions docker/jetpack/4.2/nano-dev/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,12 @@ RUN echo "5e3eedc3707305f9022d41754d6becde ${CUDA_TOOLKIT_PKG}" | md5sum -c - &&
apt-get clean && \
rm -rf /var/lib/apt/lists/*

RUN grep -q "export PATH=.*/usr/local/cuda-10/bin" ~/.bashrc || echo "export PATH=/usr/local/cuda-10/bin:$PATH">>~/.bashrc && \
grep -q "export LD_LIBRARY_PATH=/usr/local/cuda-10/lib64" ~/.bashrc || echo "export LD_LIBRARY_PATH=/usr/local/cuda-10/lib64:$LD_LIBRARY_PATH" >> ~/.bashrc && \
export LD_LIBRARY_PATH=/usr/local/cuda-10/lib64:${LD_LIBRARY_PATH}

RUN export LD_LIBRARY_PATH=/usr/local/cuda/lib64:${LD_LIBRARY_PATH} && \
export LIBRARY_PATH=/usr/local/cuda/lib64/stubs && \
grep -q "export PATH=.*/usr/local/cuda/bin" ~/.bashrc || echo "export PATH=/usr/local/cuda/bin:$PATH">>~/.bashrc && \
grep -q "export LD_LIBRARY_PATH=/usr/local/cuda/lib64" ~/.bashrc || echo "export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH" >> ~/.bashrc && \
grep -q "export PATH=.*/usr/local/cuda/bin" /etc/skel/.bashrc || echo "export PATH=/usr/local/cuda/bin:$PATH">>/etc/skel/.bashrc && \
grep -q "export LD_LIBRARY_PATH=/usr/local/cuda/lib64" /etc/skel/.bashrc || echo "export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH" >> /etc/skel/.bashrc

ENV NVIDIA_VISIBLE_DEVICES all
ENV NVIDIA_DRIVER_CAPABILITIES all
13 changes: 9 additions & 4 deletions docker/jetpack/4.2/tx2/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,12 @@ RUN echo "5e3eedc3707305f9022d41754d6becde ${CUDA_TOOLKIT_PKG}" | md5sum -c - &&
apt-get clean && \
rm -rf /var/lib/apt/lists/*

RUN grep -q "export PATH=.*/usr/local/cuda-10/bin" ~/.bashrc || echo "export PATH=/usr/local/cuda-10/bin:$PATH">>~/.bashrc && \
grep -q "export LD_LIBRARY_PATH=/usr/local/cuda-10/lib64" ~/.bashrc || echo "export LD_LIBRARY_PATH=/usr/local/cuda-10/lib64:$LD_LIBRARY_PATH" >> ~/.bashrc && \
export LD_LIBRARY_PATH=/usr/local/cuda-10/lib64:${LD_LIBRARY_PATH}

RUN export LD_LIBRARY_PATH=/usr/local/cuda/lib64:${LD_LIBRARY_PATH} && \
export LIBRARY_PATH=/usr/local/cuda/lib64/stubs && \
grep -q "export PATH=.*/usr/local/cuda/bin" ~/.bashrc || echo "export PATH=/usr/local/cuda/bin:$PATH">>~/.bashrc && \
grep -q "export LD_LIBRARY_PATH=/usr/local/cuda/lib64" ~/.bashrc || echo "export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH" >> ~/.bashrc && \
grep -q "export PATH=.*/usr/local/cuda/bin" /etc/skel/.bashrc || echo "export PATH=/usr/local/cuda/bin:$PATH">>/etc/skel/.bashrc && \
grep -q "export LD_LIBRARY_PATH=/usr/local/cuda/lib64" /etc/skel/.bashrc || echo "export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH" >> /etc/skel/.bashrc

ENV NVIDIA_VISIBLE_DEVICES all
ENV NVIDIA_DRIVER_CAPABILITIES all
1 change: 0 additions & 1 deletion flash/cti/32.1/iot-edge.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ RUN echo "#!/bin/bash" >> install-iot-edge.sh && \
echo "apt-get install moby-engine -y --no-install-recommends" >> install-iot-edge.sh && \
echo "apt-get install moby-cli -y --no-install-recommends" >> install-iot-edge.sh && \
echo "apt-get install iotedge -y --no-install-recommends" >> install-iot-edge.sh && \
echo "apt-get install iotedge -y --no-install-recommends" >> install-iot-edge.sh && \
echo "rm /etc/resolv.conf" >> install-iot-edge.sh && \
echo "cp -P /etc/resolv.conf.saved /etc/resolv.conf" >> install-iot-edge.sh && \
echo "rm /etc/resolv.conf.saved" >> install-iot-edge.sh && \
Expand Down
45 changes: 0 additions & 45 deletions flash/l4t/32.2/default.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,51 +62,6 @@ RUN echo "${ROOT_FS_SHA} *./${ROOT_FS}" | sha1sum -c --strict - && \
cd .. && \
./apply_binaries.sh

WORKDIR /Linux_for_Tegra/rootfs/etc/nvidia-container-runtime/host-files-for-container.d

COPY --from=dependencies /data/tensorrt.csv ./tensorrt.csv
RUN echo "e45328e07c8c8affa4f240f8045224a2 *./tensorrt.csv" | md5sum -c -

COPY --from=dependencies /data/visionworks.csv ./visionworks.csv
RUN echo "36226c350ae160154e7ddac9054dcbcf *./visionworks.csv" | md5sum -c -

COPY --from=dependencies /data/cudnn.csv ./cudnn.csv
RUN echo "4e940a0228f6f5e833b790cdfbadc587 *./cudnn.csv" | md5sum -c -

COPY --from=dependencies /data/cuda.csv ./cuda.csv
RUN echo "fb0c10c402cedd491d335ae7c06abe38 *./cuda.csv" | md5sum -c -

WORKDIR /Linux_for_Tegra/rootfs

RUN cp /usr/bin/qemu-aarch64-static usr/bin/

COPY --from=dependencies /data/libnvidia-container0_0.9.0~beta.1_arm64.deb ./libnvidia-container0_0.9.0~beta.1_arm64.deb
RUN echo "c343f119238659c724732da212163e83 *./libnvidia-container0_0.9.0~beta.1_arm64.deb" | md5sum -c - && \
chroot . dpkg -i libnvidia-container0_0.9.0~beta.1_arm64.deb && \
rm ./libnvidia-container0_0.9.0~beta.1_arm64.deb

COPY --from=dependencies /data/libnvidia-container-tools_0.9.0~beta.1_arm64.deb ./libnvidia-container-tools_0.9.0~beta.1_arm64.deb
RUN echo "f7a3983260a0f22d0b3fd84829952794 *./libnvidia-container-tools_0.9.0~beta.1_arm64.deb" | md5sum -c - && \
chroot . dpkg -i libnvidia-container-tools_0.9.0~beta.1_arm64.deb && \
rm ./libnvidia-container-tools_0.9.0~beta.1_arm64.deb

COPY --from=dependencies /data/nvidia-container-runtime-hook_0.9.0_beta.1-1_arm64.deb ./nvidia-container-runtime-hook_0.9.0_beta.1-1_arm64.deb
RUN echo "eea9689265c917e0f7a0343d3dbb9104 *./nvidia-container-runtime-hook_0.9.0_beta.1-1_arm64.deb" | md5sum -c - && \
chroot . dpkg -i nvidia-container-runtime-hook_0.9.0_beta.1-1_arm64.deb && \
rm ./nvidia-container-runtime-hook_0.9.0_beta.1-1_arm64.deb

COPY --from=dependencies /data/nvidia-container-runtime_0.9.0_beta.1+docker18.09.2-1_arm64.deb ./nvidia-container-runtime_0.9.0_beta.1+docker18.09.2-1_arm64.deb
RUN echo "d0d30b50f48f05f6263caf43136c90da *./nvidia-container-runtime_0.9.0_beta.1+docker18.09.2-1_arm64.deb" | md5sum -c - && \
chroot . dpkg -i nvidia-container-runtime_0.9.0_beta.1+docker18.09.2-1_arm64.deb && \
rm ./nvidia-container-runtime_0.9.0_beta.1+docker18.09.2-1_arm64.deb

COPY --from=dependencies /data/nvidia-docker2_0.9.0_beta.1+docker18.09.2-1_arm64.deb ./nvidia-docker2_0.9.0_beta.1+docker18.09.2-1_arm64.deb
RUN echo "b78d6f3cdc1a8b6623979394e7242341 *./nvidia-docker2_0.9.0_beta.1+docker18.09.2-1_arm64.deb" | md5sum -c - && \
chroot . dpkg -i nvidia-docker2_0.9.0_beta.1+docker18.09.2-1_arm64.deb && \
rm ./nvidia-docker2_0.9.0_beta.1+docker18.09.2-1_arm64.deb

RUN rm usr/bin/qemu-aarch64-static

WORKDIR /Linux_for_Tegra

ARG TARGET_BOARD
Expand Down
1 change: 0 additions & 1 deletion flash/l4t/32.2/iot-edge.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ RUN echo "#!/bin/bash" >> install-iot-edge.sh && \
echo "apt-get install moby-engine -y --no-install-recommends" >> install-iot-edge.sh && \
echo "apt-get install moby-cli -y --no-install-recommends" >> install-iot-edge.sh && \
echo "apt-get install iotedge -y --no-install-recommends" >> install-iot-edge.sh && \
echo "apt-get install iotedge -y --no-install-recommends" >> install-iot-edge.sh && \
echo "rm /etc/resolv.conf" >> install-iot-edge.sh && \
echo "cp -P /etc/resolv.conf.saved /etc/resolv.conf" >> install-iot-edge.sh && \
echo "rm /etc/resolv.conf.saved" >> install-iot-edge.sh && \
Expand Down
Loading

0 comments on commit 40c035d

Please sign in to comment.