mirror of
https://github.com/opencv/opencv.git
synced 2024-12-16 10:29:11 +08:00
29 lines
571 B
Plaintext
29 lines
571 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 \
|
|
libgtk2.0-dev \
|
|
&& \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN \
|
|
apt-get update && \
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
|
libgtkglext1-dev \
|
|
&& \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /tmp
|