mirror of
https://github.com/opencv/opencv.git
synced 2024-12-14 17:29:17 +08:00
22 lines
403 B
Plaintext
22 lines
403 B
Plaintext
|
ARG VER
|
||
|
FROM ubuntu:$VER
|
||
|
|
||
|
RUN \
|
||
|
apt-get update && \
|
||
|
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
||
|
pkg-config \
|
||
|
cmake \
|
||
|
g++ \
|
||
|
ninja-build \
|
||
|
&& \
|
||
|
rm -rf /var/lib/apt/lists/*
|
||
|
|
||
|
RUN \
|
||
|
apt-get update && \
|
||
|
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
||
|
libgtk-3-dev \
|
||
|
&& \
|
||
|
rm -rf /var/lib/apt/lists/*
|
||
|
|
||
|
WORKDIR /tmp
|