Der Versuch, opencv-python mit Dockerfile auf jetson nano zu erstellen, schlägt fehl
Dockerfile
Dockerfile (Auszug des relevanten Teils)
RUN git clone https://github.com/mdegans/nano_build_opencv /tmp/nano_build_opencv
ADD build_opencv.patch /.
RUN patch -p1 /build_opencv.patch && \
gosu jetson /tmp/nano_build_opencv/build_opencv.sh 3.4.10
Fehler beim Erstellen des Dockers
Do you wish to remove temporary build files in /tmp/build_opencv ?
(Doing so may make running tests on the build later impossible)
The command '/bin/sh -c patch -p0 < /build_opencv.patch && cat /tmp/nano_build_opencv/build_opencv.sh && gosu jetson /tmp/nano_build_opencv/build_opencv.sh 3.4.10' returned a non-zero code: 1
Vermeiden Sie Fehler, indem Sie mit dem Befehl yes "y" eingeben
Dockerfile (Auszug des relevanten Teils)
RUN git clone https://github.com/mdegans/nano_build_opencv /tmp/nano_build_opencv
ADD build_opencv.patch /.
RUN patch -p1 /build_opencv.patch && \
yes | gosu jetson /tmp/nano_build_opencv/build_opencv.sh 3.4.10
Recommended Posts