Last active
October 10, 2017 18:06
-
-
Save ahmadshah/69a14ac71e0626240c4bd3ef60b45c81 to your computer and use it in GitHub Desktop.
Darknet, OpenCV and Python3 Docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM loretoparisi/darknet:latest | |
RUN apt-get update \ | |
&& apt-get upgrade -y \ | |
&& apt-get install -y build-essential \ | |
libssl-dev \ | |
libffi-dev \ | |
python3-dev \ | |
python3-pip \ | |
libopencv-dev \ | |
python-opencv | |
RUN pip3 install numpy | |
WORKDIR /root/darknet | |
RUN sed -i'' -- 's/OPENCV=0/OPENCV=1/g' Makefile | |
RUN make | |
ENTRYPOINT [] | |
CMD ["/bin/bash"] |
Author
ahmadshah
commented
Oct 10, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment