update 5.15.2
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
FROM ubuntu:latest
|
FROM ubuntu:20.04
|
||||||
ENTRYPOINT ["/bin/bash"]
|
ENTRYPOINT ["/bin/bash"]
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
|
|||||||
@@ -21,19 +21,19 @@ RUN \
|
|||||||
RUN \
|
RUN \
|
||||||
set -eux && \
|
set -eux && \
|
||||||
cd /opt && \
|
cd /opt && \
|
||||||
wget -q http://download.qt.io/official_releases/qt/5.15/5.15.0/single/qt-everywhere-src-5.15.0.tar.xz && \
|
wget -q http://download.qt.io/official_releases/qt/5.15/5.15.2/single/qt-everywhere-src-5.15.2.tar.xz && \
|
||||||
tar xf qt-everywhere-src-5.15.0.tar.xz && \
|
tar xf qt-everywhere-src-5.15.2.tar.xz && \
|
||||||
rm qt-everywhere-src-5.15.0.tar.xz && \
|
rm qt-everywhere-src-5.15.2.tar.xz && \
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
cd /opt/qt-everywhere-src-5.15.0 && \
|
cd /opt/qt-everywhere-src-5.15.2 && \
|
||||||
./configure -opensource -confirm-license -release -static -nomake tests -nomake examples -skip qtwebengine \
|
./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 && \
|
-qt-zlib -qt-libjpeg -qt-libpng -xcb -qt-freetype -qt-pcre -qt-harfbuzz && \
|
||||||
make -j $(($(nproc)+4)) && \
|
make -j $(($(nproc)+4)) && \
|
||||||
make install && \
|
make install && \
|
||||||
cd /opt && \
|
cd /opt && \
|
||||||
rm -rf qt-everywhere-src-5.15.0 && \
|
rm -rf qt-everywhere-src-5.15.2 && \
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
ENV PATH="${PATH}:/usr/local/Qt-5.15.0/bin"
|
ENV PATH="${PATH}:/usr/local/Qt-5.15.2/bin"
|
||||||
|
|||||||
Reference in New Issue
Block a user