Skip to content

Commit 41d9854

Browse files
committed
install OpenCV
1 parent 1f9dc6e commit 41d9854

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
11
# Inherit from Heroku's python stack
22
FROM heroku/python
3+
4+
# Install OpenCV by https://github.com/jayrambhia/Install-OpenCV
5+
RUN mkdir -p /tmp/opencv
6+
WORKDIR /tmp/opencv
7+
RUN git clone https://github.com/jayrambhia/Install-OpenCV
8+
WORKDIR Install-OpenCV/Ubuntu
9+
RUN sed -i 's/sudo //g' *.sh
10+
RUN echo 'deb http://archive.ubuntu.com/ubuntu trusty multiverse' >> /etc/apt/sources.list
11+
RUN apt-get update
12+
RUN ./opencv_latest.sh

0 commit comments

Comments
 (0)