La tentative de construction d'opencv-python avec Dockerfile sur Jetson nano échoue
Dockerfile
Dockerfile (extrait de la partie pertinente)
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
Erreur lors de la construction du docker
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
Évitez les erreurs en tapant «y» avec la commande yes
Dockerfile (extrait de la partie pertinente)
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