Update Dockerfile.static

This commit is contained in:
Faraz Fallahi
2023-04-09 01:01:56 -04:00
committed by GitHub
parent 495870e2cc
commit ff55ed534d

View File

@@ -22,20 +22,20 @@ RUN \
RUN \
set -eux && \
cd /opt && \
wget -q http://download.qt.io/official_releases/qt/5.15/5.15.3/single/qt-everywhere-src-5.15.3.tar.xz && \
tar xf qt-everywhere-src-5.15.3.tar.xz && \
rm qt-everywhere-src-5.15.3.tar.xz && \
wget -q http://download.qt.io/official_releases/qt/5.15/5.15.9/single/qt-everywhere-src-5.15.9.tar.xz && \
tar xf qt-everywhere-src-5.15.9.tar.xz && \
rm qt-everywhere-src-5.15.9.tar.xz && \
exit 0
RUN \
cd /opt/qt-everywhere-src-5.15.3 && \
cd /opt/qt-everywhere-src-5.15.9 && \
./configure -opensource -confirm-license -release -static -nomake tests -nomake examples -skip qtwebengine \
-qt-zlib -qt-libjpeg -qt-libpng -xcb -qt-freetype -qt-pcre -qt-harfbuzz && \
make -j $(($(nproc)+4)) && \
make install && \
cd /opt && \
rm -rf qt-everywhere-src-5.15.3 && \
rm -rf qt-everywhere-src-5.15.9 && \
exit 0
ENV PATH="${PATH}:/usr/local/Qt-5.15.3/bin"
ENV PATH="${PATH}:/usr/local/Qt-5.15.9/bin"
ENTRYPOINT ["/bin/bash"]