update
This commit is contained in:
@@ -1 +1,5 @@
|
|||||||
https://github.com/darkmattercoder/qt-build
|
https://github.com/darkmattercoder/qt-build
|
||||||
|
|
||||||
|
echo 'override MXE_PLUGIN_DIRS += plugins/gcc7' >> settings.mk
|
||||||
|
|
||||||
|
qtbase qtcharts qtdeclarative qtquickcontrols qtquickcontrols2
|
||||||
|
|||||||
@@ -5,22 +5,27 @@ RUN \
|
|||||||
export DEBIAN_FRONTEND=noninteractive && \
|
export DEBIAN_FRONTEND=noninteractive && \
|
||||||
apt -y update && \
|
apt -y update && \
|
||||||
apt -y upgrade && \
|
apt -y upgrade && \
|
||||||
apt -y install build-essential cmake gdb git iputils-ping nano perl python valgrind wget && \
|
apt -y install build-essential cmake gdb git iputils-ping nano perl python valgrind wget lzip \
|
||||||
apt -y install mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev && \
|
mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev \
|
||||||
apt -y install zlib1g-dev libssl-dev libnss3-dev libmysqlclient-dev libsqlite3-dev libxslt-dev libxml2-dev libjpeg-dev libpng-dev libopus-dev && \
|
zlib1g-dev libssl-dev libnss3-dev libmysqlclient-dev libsqlite3-dev libxslt-dev libxml2-dev libjpeg-dev libpng-dev libopus-dev \
|
||||||
apt -y install libxcursor-dev libxcb1-dev libxcb-xkb-dev libx11-xcb-dev libxrender-dev libxi-dev libxcb-xinerama0-dev && \
|
libxcursor-dev libxcb1-dev libxcb-xkb-dev libx11-xcb-dev libxrender-dev libxi-dev libxcb-xinerama0-dev && \
|
||||||
apt -y autoremove && \
|
apt -y autoremove && \
|
||||||
apt -y autoclean && \
|
apt -y autoclean && \
|
||||||
cd /opt && \
|
apt -y clean && \
|
||||||
wget -q http://download.qt.io/official_releases/qt/5.9/5.9.0/single/qt-everywhere-opensource-src-5.9.0.tar.xz && \
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
tar xf qt-everywhere-opensource-src-5.9.0.tar.xz && \
|
|
||||||
rm qt-everywhere-opensource-src-5.9.0.tar.xz && \
|
|
||||||
cd qt-everywhere-opensource-src-5.9.0 && \
|
|
||||||
./configure -opensource -confirm-license -release -static -nomake tests -nomake examples -no-compile-examples && \
|
|
||||||
make -j $(($(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1)+2)) && \
|
|
||||||
make install && \
|
|
||||||
cd /opt && \
|
|
||||||
rm -rf qt-everywhere-opensource-src-5.9.0 && \
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
ENV PATH="${PATH}:/usr/local/Qt-5.9.0/bin"
|
RUN \
|
||||||
|
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 && \
|
||||||
|
tar xf qt-everywhere-opensource-src-5.15.0.tar.xz && \
|
||||||
|
rm qt-everywhere-opensource-src-5.15.0.tar.xz && \
|
||||||
|
cd qt-everywhere-opensource-src-5.15.0 && \
|
||||||
|
./configure -opensource -confirm-license -release -static -nomake tests -nomake examples -no-compile-examples && \
|
||||||
|
make -j $(($(nproc)+4)) && \
|
||||||
|
make install && \
|
||||||
|
cd /opt && \
|
||||||
|
rm -rf qt-everywhere-opensource-src-5.15.0 && \
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
ENV PATH="${PATH}:/usr/local/Qt-5.15.0/bin"
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ RUN \
|
|||||||
autoconf automake autopoint bash bison bzip2 flex gettext \
|
autoconf automake autopoint bash bison bzip2 flex gettext \
|
||||||
git g++ gperf intltool libffi-dev libgdk-pixbuf2.0-dev \
|
git g++ gperf intltool libffi-dev libgdk-pixbuf2.0-dev \
|
||||||
libtool-bin libltdl-dev libssl-dev libxml-parser-perl lzip make \
|
libtool-bin libltdl-dev libssl-dev libxml-parser-perl lzip make \
|
||||||
openssl p7zip-full patch perl pkg-config python ruby scons \
|
openssl p7zip-full lzip patch perl pkg-config python ruby scons \
|
||||||
sed unzip wget xz-utils \
|
sed unzip wget xz-utils \
|
||||||
g++-multilib libc6-dev-i386 && \
|
g++-multilib libc6-dev-i386 && \
|
||||||
apt -y autoremove && \
|
apt -y autoremove && \
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ RUN \
|
|||||||
autoconf automake autopoint bash bison bzip2 flex gettext \
|
autoconf automake autopoint bash bison bzip2 flex gettext \
|
||||||
git g++ gperf intltool libffi-dev libgdk-pixbuf2.0-dev \
|
git g++ gperf intltool libffi-dev libgdk-pixbuf2.0-dev \
|
||||||
libtool-bin libltdl-dev libssl-dev libxml-parser-perl lzip make \
|
libtool-bin libltdl-dev libssl-dev libxml-parser-perl lzip make \
|
||||||
openssl p7zip-full patch perl pkg-config python ruby scons \
|
openssl p7zip-full lzip patch perl pkg-config python ruby scons \
|
||||||
sed unzip wget xz-utils \
|
sed unzip wget xz-utils \
|
||||||
g++-multilib libc6-dev-i386 && \
|
g++-multilib libc6-dev-i386 && \
|
||||||
apt -y autoremove && \
|
apt -y autoremove && \
|
||||||
|
|||||||
Reference in New Issue
Block a user