From 1717f1c2f3272525b38fc25e0946cd0a29dc46b6 Mon Sep 17 00:00:00 2001 From: Faraz Fallahi Date: Wed, 24 May 2017 11:55:46 -0500 Subject: [PATCH] static --- static/Dockerfile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/static/Dockerfile b/static/Dockerfile index a72718d..7d59e73 100644 --- a/static/Dockerfile +++ b/static/Dockerfile @@ -3,7 +3,18 @@ MAINTAINER Faraz Fallahi RUN \ apt -y update && \ apt -y upgrade && \ -apt -y install build-essential git && \ +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 && \ +./configure -opensource -confirm-license -release -strip -static -c++std c++14 -ltcg -nomake examples -no-compile-examples -no-webkit -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 && \ exit 0 +ENV PATH="${PATH}:/usr/local/Qt-5.8.0/bin"