Update Dockerfile.static
This commit is contained in:
@@ -18,16 +18,17 @@ RUN \
|
|||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
|
set -eux && \
|
||||||
cd /opt && \
|
cd /opt && \
|
||||||
wget -q http://download.qt.io/official_releases/qt/5.15/5.15.0/single/qt-everywhere-opensource-src-5.15.0.tar.xz && \
|
wget -q http://download.qt.io/official_releases/qt/5.15/5.15.0/single/qt-everywhere-src-5.15.0.tar.xz && \
|
||||||
tar xf qt-everywhere-opensource-src-5.15.0.tar.xz && \
|
tar xf qt-everywhere-src-5.15.0.tar.xz && \
|
||||||
rm qt-everywhere-opensource-src-5.15.0.tar.xz && \
|
rm qt-everywhere-src-5.15.0.tar.xz && \
|
||||||
cd qt-everywhere-opensource-src-5.15.0 && \
|
cd qt-everywhere-src-5.15.0 && \
|
||||||
./configure -opensource -confirm-license -release -static -nomake tests -nomake examples -skip qtwebengine && \
|
./configure -opensource -confirm-license -release -static -nomake tests -nomake examples -skip qtwebengine && \
|
||||||
make -j $(($(nproc)+4)) && \
|
make -j $(($(nproc)+4)) && \
|
||||||
make install && \
|
make install && \
|
||||||
cd /opt && \
|
cd /opt && \
|
||||||
rm -rf qt-everywhere-opensource-src-5.15.0 && \
|
rm -rf qt-everywhere-src-5.15.0 && \
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
ENV PATH="${PATH}:/usr/local/Qt-5.15.0/bin"
|
ENV PATH="${PATH}:/usr/local/Qt-5.15.0/bin"
|
||||||
|
|||||||
Reference in New Issue
Block a user