This commit is contained in:
Faraz Fallahi
2017-05-24 12:08:16 -05:00
parent 0e90c7c7ee
commit e5052011c4

View File

@@ -7,14 +7,14 @@ apt -y install build-essential git iputils-ping python wget && \
apt -y autoremove && \
apt -y autoclean && \
cd /opt && \
wget http://download.qt.io/official_releases/qt/5.8/5.8.0/single/qt-everywhere-opensource-src-5.8.0.tar.gz && \
tar xf qt-everywhere-opensource-src-5.8.0.tar.gz && \
rm qt-everywhere-opensource-src-5.8.0.tar.gz && \
cd qt-everywhere-opensource-src-5.8.0 && \
wget -q -O qt-everywhere-opensource-src.tar.gz http://download.qt.io/official_releases/qt/5.8/5.8.0/single/qt-everywhere-opensource-src-5.8.0.tar.gz && \
tar xf qt-everywhere-opensource-src.tar.gz && \
rm qt-everywhere-opensource-src.tar.gz && \
cd qt-everywhere-opensource-src && \
./configure -opensource -confirm-license -release -strip -static -c++std c++14 -ltcg -nomake examples -no-compile-examples -no-opengl && \
make -j $(($(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1)+2)) && \
make install && \
cd /opt && \
rm -rf qt-everywhere-opensource-src-5.8.0 && \
rm -rf qt-everywhere-opensource-src && \
exit 0
ENV PATH="${PATH}:/usr/local/Qt-5.8.0/bin"