1
- # Version: 20241031
1
+ # Version: 20250329
2
2
# Image name: quay.io/opencv-ci/opencv-ubuntu-24.04
3
3
4
4
FROM ubuntu:24.04
5
5
6
+ ENV DEBIAN_FRONTEND=noninteractive
7
+
6
8
RUN \
7
9
apt-get update && \
8
- DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
10
+ apt-get install -y --no-install-recommends \
9
11
software-properties-common \
10
- curl zip unzip wget rsync mc nano time git file && \
11
- rm -rf /var/lib/apt/lists/*
12
+ curl \
13
+ zip \
14
+ unzip \
15
+ wget \
16
+ rsync \
17
+ mc \
18
+ nano \
19
+ time \
20
+ git \
21
+ file
12
22
13
- # reportlab, svglib, pycairo: https://github.com/opencv/opencv/pull/23363
14
- # libavif: https://github.com/opencv/opencv/pull/23596
15
- # libjxl: https://github.com/opencv/opencv/pull/26379
16
23
RUN \
17
24
apt-get update && \
18
- DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
25
+ apt-get install -y --no-install-recommends \
19
26
cmake \
20
27
build-essential \
21
28
ccache \
22
29
ninja-build \
30
+ ant \
31
+ ant-optional \
32
+ default-jdk \
23
33
python3-dev \
24
- python3-numpy \
25
34
python3-setuptools \
26
35
python3-pip \
27
- pylint \
28
36
zlib1g-dev \
29
37
libjpeg-dev \
30
38
libpng-dev \
31
39
libtiff5-dev \
32
40
libopenjp2-7-dev \
33
41
libavif-dev \
34
42
libjxl-dev \
43
+ libgtk-3-dev \
35
44
libgtk-4-dev \
36
45
libavcodec-dev \
37
46
libavformat-dev \
38
47
libswscale-dev \
39
- ant \
40
- ant-optional \
41
- default-jdk \
48
+ libgstreamer1.0-dev \
49
+ libgstreamer-plugins-base1.0-dev \
50
+ gstreamer1.0-plugins-good \
51
+ gstreamer1.0-plugins-ugly \
52
+ gstreamer1.0-libav \
53
+ libopenni2-dev \
54
+ libdc1394-dev \
55
+ libgphoto2-dev \
42
56
hdf5-tools \
43
57
libhdf5-dev \
44
58
liblept5 \
@@ -48,27 +62,22 @@ RUN \
48
62
libeigen3-dev \
49
63
libsuitesparse-dev \
50
64
liblapacke-dev \
51
- libceres -dev \
65
+ libopenblas -dev \
52
66
libeigen3-dev \
53
- libopenni2-dev \
54
67
libglfw3-dev \
68
+ libceres-dev \
55
69
lcov \
56
70
xvfb \
57
- pkg-config \
58
- && \
59
- apt-get clean && \
60
- pip install --break-system-packages requests reportlab svglib pycairo rlPyCairo && pip cache purge
71
+ pkg-config
61
72
62
- RUN \
63
- apt-get update && \
64
- DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
65
- libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev \
66
- gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-libav \
67
- libopenni2-dev \
68
- libdc1394-dev \
69
- libgphoto2-dev \
70
- && \
71
- rm -rf /var/lib/apt/lists/*
73
+ RUN python3 -m pip install --break-system-packages \
74
+ numpy \
75
+ pylint \
76
+ requests \
77
+ reportlab \
78
+ svglib \
79
+ pycairo \
80
+ rlPyCairo
72
81
73
82
# Self-hosted runner UID is 1000
74
83
81
90
git config --global user.name "opencv.ci" && \
82
91
git config --global pull.rebase false
83
92
84
- # Run docker build from the root directory of the repository
85
- COPY scripts/warnings-handling.py /home/ubuntu/scripts/warnings-handling.py
86
-
87
93
CMD bash
0 commit comments