tx2-darknet-base (latest)
Published 2024-10-09 11:56:20 -03:00 by traverseda
Installation
docker pull git.spirirobotics.com/spiri/tx2-darknet-base:latest
sha256:55bf1bd7e00a9afcbd41cb3d17b9829b86953b278b18dc0e6f77cad9e40e7f04
Image Layers
ADD file:d2c57bfbb29f6de3b29050a2c50c3806e0c8caa26f6d8dea47f479c923d72e3e in / |
/bin/sh -c set -xe && echo '#!/bin/sh' > /usr/sbin/policy-rc.d && echo 'exit 101' >> /usr/sbin/policy-rc.d && chmod +x /usr/sbin/policy-rc.d && dpkg-divert --local --rename --add /sbin/initctl && cp -a /usr/sbin/policy-rc.d /sbin/initctl && sed -i 's/^exit.*/exit 0/' /sbin/initctl && echo 'force-unsafe-io' > /etc/dpkg/dpkg.cfg.d/docker-apt-speedup && echo 'DPkg::Post-Invoke { "rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true"; };' > /etc/apt/apt.conf.d/docker-clean && echo 'APT::Update::Post-Invoke { "rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true"; };' >> /etc/apt/apt.conf.d/docker-clean && echo 'Dir::Cache::pkgcache ""; Dir::Cache::srcpkgcache "";' >> /etc/apt/apt.conf.d/docker-clean && echo 'Acquire::Languages "none";' > /etc/apt/apt.conf.d/docker-no-languages && echo 'Acquire::GzipIndexes "true"; Acquire::CompressionTypes::Order:: "gz";' > /etc/apt/apt.conf.d/docker-gzip-indexes && echo 'Apt::AutoRemove::SuggestsImportant "false";' > /etc/apt/apt.conf.d/docker-autoremove-suggests |
/bin/sh -c [ -z "$(apt-get indextargets)" ] |
/bin/sh -c mkdir -p /run/systemd && echo 'docker' > /run/systemd/container |
CMD ["/bin/bash"] |
ARG DEBIAN_FRONTEND=noninteractive |
|2 CUDA=10.2 DEBIAN_FRONTEND=noninteractive /bin/sh -c apt-get update && apt-get install -qq -y --no-install-recommends bc bzip2 can-utils freeglut3-dev 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 language-pack-en-base libapt-inst2.0 libcanberra-gtk3-module libgles2 libglu1-mesa-dev libglvnd-dev libgtk-3-0 libpython2.7 libudev1 libvulkan1 libzmq5 mtd-utils parted pciutils python python-pexpect python3-distutils sox udev vulkan-utils wget wireless-tools wpasupplicant && rm -rf /var/lib/apt/lists/* && apt-get clean |
|2 CUDA=10.2 DEBIAN_FRONTEND=noninteractive /bin/sh -c 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 |
|2 CUDA=10.2 DEBIAN_FRONTEND=noninteractive /bin/sh -c rm /usr/share/glvnd/egl_vendor.d/50_mesa.json |
|2 CUDA=10.2 DEBIAN_FRONTEND=noninteractive /bin/sh -c 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 |
|2 CUDA=10.2 DEBIAN_FRONTEND=noninteractive /bin/sh -c 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 |
|2 CUDA=10.2 DEBIAN_FRONTEND=noninteractive /bin/sh -c echo "/usr/local/cuda-$CUDA/targets/aarch64-linux/lib" >> /etc/ld.so.conf.d/nvidia.conf |
ARG CUDA=invalid |
COPY dir:0725d1b4474f0344f4b7b1390622390edf8803504d6361ea2d4bf4c4d9a84323 in /usr/local/cuda-$CUDA/bin |
COPY dir:9b46734dc8a7091663195ffe9ffc9857883348879526dc41187c7dfedf759531 in /usr/local/cuda-$CUDA/nvvm |
COPY dir:6fa64bdd1a5681089ce6c4d9fc9cd77c78b7e743d8d9b9f896033cea640069cb in /usr/local/cuda-$CUDA/nvvmx |
COPY dir:c8efdad2a830c5d50aea2c30d0650064961081b40cec0786bb80e645a9928b5c in /usr/local/cuda-$CUDA/targets/aarch64-linux/include |
COPY dir:1dd7dae72fbc00eefede3a7346e7326a885df0b6ec9f0b6b282f6a0e65c62d66 in /usr/local/cuda-$CUDA/targets/aarch64-linux/lib/stubs |
COPY file:2e48456e7554a106ce4e6c8d8a21d207ec7fc6001b84c87f095226537559225d in /usr/local/cuda-$CUDA/targets/aarch64-linux/lib/ |
COPY file:22080695635f40ad38a39f321ba537abd01830c823a8b855d496ae638cfeb049 in /usr/local/cuda-$CUDA/targets/aarch64-linux/lib/ |
|2 CUDA=10.2 DEBIAN_FRONTEND=noninteractive /bin/sh -c ln -s /usr/local/cuda-$CUDA /usr/local/cuda && ln -s /usr/local/cuda-$CUDA/targets/aarch64-linux/include /usr/local/cuda/include && ln -s /usr/local/cuda-$CUDA/targets/aarch64-linux/lib /usr/local/cuda/lib64 |
ENV PATH /usr/local/cuda-$CUDA/bin:/usr/local/cuda/bin:${PATH} |
ENV LD_LIBRARY_PATH /usr/local/cuda-$CUDA/targets/aarch64-linux/lib:${LD_LIBRARY_PATH} |
|2 CUDA=10.2 DEBIAN_FRONTEND=noninteractive /bin/sh -c ldconfig |
ENV NVIDIA_VISIBLE_DEVICES all |
ENV NVIDIA_DRIVER_CAPABILITIES all |
CMD ["/bin/bash"] |
ENV ELROY_RELEASE=r32.4 |
ENV SOC=t186 |
ADD --chown=root:rootda288923c6e8d543ab6522f4b9aac3bc7515b2f44348042b3e62d23e809290bb in /etc/apt/trusted.gpg.d/jetson-ota-public.asc |
/bin/sh -c chmod 644 /etc/apt/trusted.gpg.d/jetson-ota-public.asc && apt-get update && apt-get install -y --no-install-recommends ca-certificates && echo "deb https://repo.download.nvidia.com/jetson/common ${ELROY_RELEASE} main" > /etc/apt/sources.list.d/nvidia-l4t-apt-source.list && echo "deb https://repo.download.nvidia.com/jetson/${SOC} ${ELROY_RELEASE} main" >> /etc/apt/sources.list.d/nvidia-l4t-apt-source.list && apt-get update && rm -rf /var/lib/apt/lists/* |
/bin/sh -c apt-get update --yes |
/bin/sh -c apt-get install --yes git cmake sudo libpng-dev |
WORKDIR /app |
/bin/sh -c git clone https://github.com/Alro10/OpenCVTX2.git |
WORKDIR /app/OpenCVTX2 |
/bin/sh -c chmod +x ./buildOpenCV.sh |
/bin/sh -c ./buildOpenCV.sh |
WORKDIR /root/opencv/build |
/bin/sh -c make |
/bin/sh -c make install |
WORKDIR /app |
/bin/sh -c git clone https://github.com/arnoldfychen/darknet.git |
WORKDIR /app/darknet |
COPY file:66406c0672ed35b32482d2464a0f2751cd457499b5007250054fa32456fda7de in ./Makefile |
/bin/sh -c make |
/bin/sh -c make -j4 |