1- # Version: 20230117
1+ # Version: 20230124
22# Image name: quay.io/opencv-ci/opencv-python-manylinux2014-aarch64
33
44FROM quay.io/pypa/manylinux2014_aarch64:latest
@@ -9,13 +9,13 @@ ARG FREETYPE_VERSION=2.12.1
99ARG LIBPNG_VERSION=1.6.37
1010ARG NASM_VERSION=2.15.04
1111ARG OPENSSL_VERSION=1_1_1s
12- ARG QT_VERSION=5.15.0
12+ ARG QT_VERSION=5.15.8
1313ARG YASM_VERSION=1.3.0
1414
1515ENV LD_LIBRARY_PATH /usr/local/lib:$LD_LIBRARY_PATH
1616
1717# epel-release need for aarch64 to get openblas packages
18- 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 && \
18+ 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 && \
1919 yum install openblas-devel dejavu-sans-fonts -y && \
2020 cp /usr/include/lapacke/lapacke*.h /usr/include/ && \
2121 curl https://raw.githubusercontent.com/xianyi/OpenBLAS/v0.3.3/cblas.h -o /usr/include/cblas.h && \
@@ -44,13 +44,12 @@ RUN mkdir ~/freetype_sources && \
4444 cd .. && \
4545 rm -rf ~/freetype_sources
4646
47- RUN curl -O -L https://download.qt.io/official_releases /qt/5.15/${QT_VERSION}/single/qt-everywhere-src-${QT_VERSION}.tar.xz && \
48- tar -xf qt-everywhere-src-${QT_VERSION}.tar.xz && \
47+ RUN curl -O -L https://download.qt.io/archive /qt/5.15/${QT_VERSION}/single/qt-everywhere-opensource -src-${QT_VERSION}.tar.xz && \
48+ tar -xf qt-everywhere-opensource- src-${QT_VERSION}.tar.xz && \
4949 cd qt-everywhere-src-${QT_VERSION} && \
5050 export MAKEFLAGS=-j$(nproc) && \
51- ./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 && \
52- make && \
53- make install && \
51+ ./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 && \
52+ make && make install && \
5453 cd .. && \
5554 rm -rf qt-everywhere*
5655
@@ -139,3 +138,4 @@ RUN git config --global --add safe.directory /io
139138ENV PKG_CONFIG_PATH /usr/local/lib/pkgconfig:/ffmpeg_build/lib/pkgconfig
140139ENV LDFLAGS -L/ffmpeg_build/lib
141140ENV PATH "$HOME/bin:$PATH"
141+ ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/Qt${QT_VERSION}/lib
0 commit comments