Update Dockerfile

This commit is contained in:
Faraz Fallahi
2017-05-31 16:09:35 -05:00
committed by GitHub
parent 517d1923b3
commit 4336434c50

View File

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