Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I was able to build latest opencv in ubuntu 16.04 with packaged libtiff using the following Docker config:

FROM ubuntu:16.04

RUN apt-get update -y

RUN apt-get install \
    libtiff-dev \
    gcc \
    g++ \
    cmake \
    ninja-build \
    -y

RUN mkdir -p /build
VOLUME /opencv

CMD cd /build && rm -rf * && cmake -GNinja ../opencv && ninja