driveos (6.0.4)
Installation
docker pull git.jiayudev.com/docker/driveos:6.0.4sha256:ceb2e67e5f6646894af070b445f548c646fd8b4d8b7e8f62c77f1d4cf55760b5Image Layers
| ADD file:ff6963f777661fb16cc12fb04a97c558bd94768a6e4ab5bd90e01f3086818853 in / |
| CMD ["bash"] |
| ARG DEBIAN_FRONTEND=noninteractive |
| ENV ROOT_PATH=/drive |
| ENV NV_WORKSPACE=/drive |
| ENV DRIVEOS_VARIANT=linux |
| ENV DRIVEOS_BOARD_TYPE=ES |
| WORKDIR /drive |
| SHELL [/bin/bash -c] |
| RUN |1 DEBIAN_FRONTEND=noninteractive /bin/bash -c mkdir /drive/drive_flashing && cp /mnt/out/files/sources.list /etc/apt/sources.list && cp /mnt/out/files/startup.sh /drive/drive_flashing && cp /mnt/out/files/flash.sh . && adduser --uid 1001 --home /drive/ --gecos "" --disabled-password nvidia && echo "nvidia:nvidia" | chpasswd && usermod -aG sudo nvidia && echo "resolvconf resolvconf/linkify-resolvconf boolean false" | debconf-set-selections && apt-get update && for pkg in wget make cpio python3 python python-dev python3-yaml lsof usbutils udev dmidecode lsb-release lsb-core bc tzdata pciutils rsync openssl libgetopt-complete-perl sudo qemu-user-static binfmt-support gnupg libdevice-serialport-perl libtext-csv-xs-perl rename pigz lrzsz lib32z1 cmake minicom ifupdown resolvconf lib32stdc++6 dpkg-dev gcc-multilib unzip xorg-dev libc6-dev-i386 linux-libc-dev:i386 libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev libgles2-mesa-dev g++ g++-aarch64-linux-gnu vim-common libopenmpi-dev kmod less gcc-7-multilib libpipeline1 libssl-dev; do apt-get install -y --no-install-recommends ${pkg}; done # buildkit |
| RUN |1 DEBIAN_FRONTEND=noninteractive /bin/bash -c . /mnt/out/files/env && apt-get -o Acquire::https::Verify-Peer=false -o Acquire::https::Verify-Host=false update && apt-get -o Acquire::https::Verify-Peer=false -o Acquire::https::Verify-Host=false install -y --no-install-recommends nv-driveos-foundation*driveinstaller* $(apt-cache depends nv-driveos-build-sdk-linux* | sed '1d' | sed 's/Depends://g' | sed '/core.*rfs/d') nv-driveos-foundation-oss-src* nv-driveos-linux-oss-src* # buildkit |
| ENTRYPOINT ["/bin/bash"] |
| ARG DEBIAN_FRONTEND=noninteractive |
| RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c apt install -y --no-install-recommends /mnt/out/files/*Nsight* libgmp3-dev libmpc-dev python3-sphinx # buildkit |
| RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c apt-get -o Acquire::https::Verify-Peer=false -o Acquire::https::Verify-Host=false update && apt-get -o Acquire::https::Verify-Peer=false -o Acquire::https::Verify-Host=false install -y --no-install-recommends cuda-repo-ubuntu2004* cuda-repo-cross-aarch64-ubuntu2004* && cp /var/cuda-repo*/cuda*keyring.gpg /usr/share/keyrings/ && apt-get -o Acquire::https::Verify-Peer=false -o Acquire::https::Verify-Host=false update && apt-get -o Acquire::https::Verify-Peer=false -o Acquire::https::Verify-Host=false install -y --no-install-recommends cuda-toolkit-11-4 cuda-cross-aarch64 && apt install -y /var/cuda-repo-ubuntu2004*/libnvidia-decode-470*amd64.deb /var/cuda-repo-ubuntu2004*/libnvidia-compute-470*amd64.deb && rm -rf /var/cuda-repo*/*.deb # buildkit |
| RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c apt-get -o Acquire::https::Verify-Peer=false -o Acquire::https::Verify-Host=false update && apt-get -o Acquire::https::Verify-Peer=false -o Acquire::https::Verify-Host=false install -y --no-install-recommends cudnn-local-repo-ubuntu2004* cudnn-local-repo-cross-aarch64-ubuntu2004* && cp /var/cudnn*/cudnn*keyring.gpg /usr/share/keyrings/ && apt-get -o Acquire::https::Verify-Peer=false -o Acquire::https::Verify-Host=false update && apt-get -o Acquire::https::Verify-Peer=false -o Acquire::https::Verify-Host=false install -y --no-install-recommends libcudnn8-samples libcudnn8-cross-aarch64 && rm /var/cudnn-*repo*ubuntu2004*/*.deb # buildkit |
| RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c apt-get -o Acquire::https::Verify-Peer=false -o Acquire::https::Verify-Host=false update && apt-get -o Acquire::https::Verify-Peer=false -o Acquire::https::Verify-Host=false install -y --no-install-recommends nv-tensorrt-repo*x86* nv-tensorrt-repo*d6l-cross-ga* && for aptkey in /var/nv-tensorrt*/*.pub; do apt-key add $aptkey; done && apt-get -o Acquire::https::Verify-Peer=false -o Acquire::https::Verify-Host=false update && apt-get -o Acquire::https::Verify-Peer=false -o Acquire::https::Verify-Host=false install -y --no-install-recommends tensorrt tensorrt-cross-aarch64 && rm /var/nv-tensorrt*/*.deb # buildkit |
| RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c dpkg -i /mnt/out/files/nvsci_pkg_x86_64_embedded-6.0.4.0*.deb && apt-get -o Acquire::https::Verify-Peer=false -o Acquire::https::Verify-Host=false update && apt-get -o Acquire::https::Verify-Peer=false -o Acquire::https::Verify-Host=false install -y --no-install-recommends driveworks driveworks-stm* driveworks-cgf* driveworks-data* driveworks-samples* driveworks-cross* # buildkit |
| ENTRYPOINT ["/bin/bash"] |
| ARG DEBIAN_FRONTEND=noninteractive |
| ENV DWX_INSTALL_DIR=/drive/extra/driveworks |
| SHELL [/bin/bash -c] |
| RUN |1 DEBIAN_FRONTEND=noninteractive /bin/bash -c . /mnt/out/files/env && cp /mnt/out/files/startup.sh /drive/drive_flashing && apt remove -y driveworks* && apt-get -o Acquire::https::Verify-Peer=false -o Acquire::https::Verify-Host=false update && apt-get -o Acquire::https::Verify-Peer=false -o Acquire::https::Verify-Host=false install -y --no-install-recommends driveworks driveworks-stm* driveworks-cgf* driveworks-data* driveworks-samples* driveworks-cross* && mkdir -p ${DWX_INSTALL_DIR} && cp /mnt/out/files/driveworks* ${DWX_INSTALL_DIR} # buildkit |
| RUN |1 DEBIAN_FRONTEND=noninteractive /bin/bash -c . /mnt/out/files/env && apt install -y /mnt/out/files/nv-driveos-linux-patch*.deb # buildkit |
| ENTRYPOINT ["/bin/bash"] |
| ENV TZ=Asia/Shanghai |
| ARG user=jiayu |
| ENV __NV_PRIME_RENDER_OFFLOAD=1 |
| ENV __GLX_VENDOR_LIBRARY_NAME=nvidia |
| ENV PATH=/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| ENV LD_LIBRARY_PATH=/usr/local/cuda/lib64: |
| ENV LD_LIBRARY_PATH=/usr/local/tensorrt/lib:/usr/local/cuda/lib64: |
| RUN |1 user=jiayu /bin/bash -c useradd -rm -c ${user} -u 1000 -d /home/${user} -s /bin/bash -G sudo ${user} # buildkit |
| SHELL [/bin/bash -o pipefail -c] |
| RUN |1 user=jiayu /bin/bash -o pipefail -c echo "$user ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers # buildkit |
| RUN |1 user=jiayu /bin/bash -o pipefail -c mkdir -p /home/${user}/workspace/ # buildkit |
| RUN |1 user=jiayu /bin/bash -o pipefail -c chown -R ${user}:users /home/${user} # buildkit |
| COPY .bashrc /home/jiayu/.bashrc # buildkit |
| WORKDIR /home/jiayu |
| USER jiayu |
Details
Versions (2)
View all