Fix dockerfile bionic opencv 3.4 version (#383)
* Fix dockerfile bionic opencv 3.4 version * add libraries needed for yolov5 * add libshape debug package Co-authored-by: Victor Sonck <victor.sonck@ml6.eu>
This commit is contained in:
parent
1a82822474
commit
7fe5e135aa
@ -3,7 +3,13 @@ ARG CUDA="10"
|
||||
|
||||
FROM hakuyyf/tensorrtx:trt${TENSORRT}_cuda${CUDA}
|
||||
|
||||
# Get opencv 3.4 for bionic based images
|
||||
RUN rm /etc/apt/sources.list.d/timsc-ubuntu-opencv-3_3-bionic.list
|
||||
RUN rm /etc/apt/sources.list.d/timsc-ubuntu-opencv-3_3-bionic.list.save
|
||||
RUN add-apt-repository -y ppa:timsc/opencv-3.4
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y libopencv-dev libopencv-dnn-dev libopencv-shape3.4-dbg
|
||||
|
||||
# git clone tensorrtx
|
||||
RUN git clone https://github.com/wang-xinyu/tensorrtx.git
|
||||
Loading…
Reference in New Issue
Block a user