J5_1
1FROM gocv/opencv:4.9.0
2
3WORKDIR /home/gagarin-hack
4
5COPY detector/ ./detector/
6COPY docker/entry.sh /
7RUN chmod 755 /entry.sh
8
9RUN mkdir -p detector/build-docker
10RUN cmake -Sdetector -Bdetector/build-docker -DFFMPEG_LIB_DIR=/usr/lib/x86_64-linux-gnu -DFFMPEG_INCLUDES_DIR=/usr/include/x86_64-linux-gnu/ detector/
11RUN make -C detector/build-docker
12
13ENTRYPOINT ["/entry.sh"]
14