1
- # Version: 20231225
1
+ # Version: 20240513
2
2
# Image name: quay.io/opencv-ci/opencv-python-manylinux2014-aarch64
3
3
4
4
FROM quay.io/pypa/manylinux2014_aarch64:latest
@@ -10,13 +10,13 @@ ARG LIBPNG_VERSION=1.6.40
10
10
ARG VPX_VERSION=v1.13.1
11
11
ARG NASM_VERSION=2.15.04
12
12
ARG OPENSSL_VERSION=1_1_1w
13
- ARG QT_VERSION=5.15.0
13
+ ARG QT_VERSION=5.15.13
14
14
ARG YASM_VERSION=1.3.0
15
15
16
16
ENV LD_LIBRARY_PATH /usr/local/lib:$LD_LIBRARY_PATH
17
17
18
18
# epel-release need for aarch64 to get openblas packages
19
- RUN yum install zlib-devel curl-devel xcb-util-renderutil-devel xcb-util-devel xcb-util-image-devel xcb-util-keysyms-devel xcb-util-wm-devel mesa-libGL-devel libxkbcommon-devel libxkbcommon-x11-devel libXi-devel lapack-devel epel-release -y && \
19
+ RUN yum install zlib-devel curl-devel xcb-util-renderutil-devel xcb-util-devel xcb-util-image-devel xcb-util-keysyms-devel xcb-util-wm-devel mesa-libGL-devel libxkbcommon-devel libxkbcommon-x11-devel libXi-devel lapack-devel epel-release wayland-devel libwayland-egl -y && \
20
20
yum install openblas-devel dejavu-sans-fonts -y && \
21
21
cp /usr/include/lapacke/lapacke*.h /usr/include/ && \
22
22
curl https://raw.githubusercontent.com/xianyi/OpenBLAS/v0.3.3/cblas.h -o /usr/include/cblas.h && \
@@ -46,13 +46,12 @@ RUN mkdir ~/freetype_sources && \
46
46
cd .. && \
47
47
rm -rf ~/freetype_sources
48
48
49
- RUN curl -C - - O -L https://download.qt.io/official_releases /qt/5.15/${QT_VERSION}/single/qt-everywhere-src-${QT_VERSION}.tar.xz && \
50
- tar -xf qt-everywhere-src-${QT_VERSION}.tar.xz && \
49
+ RUN curl -O -L https://download.qt.io/archive /qt/5.15/${QT_VERSION}/single/qt-everywhere-opensource -src-${QT_VERSION}.tar.xz && \
50
+ tar -xf qt-everywhere-opensource- src-${QT_VERSION}.tar.xz && \
51
51
cd qt-everywhere-src-${QT_VERSION} && \
52
52
export MAKEFLAGS=-j$(nproc) && \
53
- ./configure -prefix /opt/Qt${QT_VERSION} -release -opensource -confirm-license -qtnamespace QtOpenCVPython -xcb -xcb-xlib -bundled-xcb-xinput -no-openssl -no-dbus -skip qt3d -skip qtactiveqt -skip qtcanvas3d -skip qtconnectivity -skip qtdatavis3d -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtmultimedia -skip qtpurchasing -skip qtqa -skip qtremoteobjects -skip qtrepotools -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qttranslations -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebsockets -skip qtwebview -skip xmlpatterns -skip declarative -make libs && \
54
- make && \
55
- make install && \
53
+ ./configure -prefix /opt/Qt${QT_VERSION} -release -opensource -confirm-license -qtnamespace QtOpenCVPython -xcb -xcb-xlib -bundled-xcb-xinput -no-openssl -no-dbus -skip qt3d -skip qtactiveqt -skip qtcanvas3d -skip qtconnectivity -skip qtdatavis3d -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtmultimedia -skip qtpurchasing -skip qtqa -skip qtremoteobjects -skip qtrepotools -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qttranslations -skip qtwebchannel -skip qtwebengine -skip qtwebsockets -skip qtwebview -skip xmlpatterns -skip declarative -make libs && \
54
+ make && make install && \
56
55
cd .. && \
57
56
rm -rf qt-everywhere*
58
57
@@ -141,3 +140,4 @@ RUN git config --global --add safe.directory /io
141
140
ENV PKG_CONFIG_PATH /usr/local/lib/pkgconfig:/ffmpeg_build/lib/pkgconfig
142
141
ENV LDFLAGS -L/ffmpeg_build/lib
143
142
ENV PATH "$HOME/bin:$PATH"
143
+ ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/Qt${QT_VERSION}/lib
0 commit comments