1- # Version: 20231225
1+ # Version: 20240513
22# Image name: quay.io/opencv-ci/opencv-python-manylinux2014-aarch64
33
44FROM quay.io/pypa/manylinux2014_aarch64:latest
@@ -10,13 +10,13 @@ ARG LIBPNG_VERSION=1.6.40
1010ARG VPX_VERSION=v1.13.1
1111ARG NASM_VERSION=2.15.04
1212ARG OPENSSL_VERSION=1_1_1w
13- ARG QT_VERSION=5.15.0
13+ ARG QT_VERSION=5.15.13
1414ARG YASM_VERSION=1.3.0
1515
1616ENV LD_LIBRARY_PATH /usr/local/lib:$LD_LIBRARY_PATH
1717
1818# 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 && \
2020 yum install openblas-devel dejavu-sans-fonts -y && \
2121 cp /usr/include/lapacke/lapacke*.h /usr/include/ && \
2222 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 && \
4646 cd .. && \
4747 rm -rf ~/freetype_sources
4848
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 && \
5151 cd qt-everywhere-src-${QT_VERSION} && \
5252 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 && \
5655 cd .. && \
5756 rm -rf qt-everywhere*
5857
@@ -141,3 +140,4 @@ RUN git config --global --add safe.directory /io
141140ENV PKG_CONFIG_PATH /usr/local/lib/pkgconfig:/ffmpeg_build/lib/pkgconfig
142141ENV LDFLAGS -L/ffmpeg_build/lib
143142ENV PATH "$HOME/bin:$PATH"
143+ ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/Qt${QT_VERSION}/lib
0 commit comments