update
This commit is contained in:
@@ -1,23 +1,26 @@
|
|||||||
FROM ubuntu:latest
|
FROM ubuntu:latest
|
||||||
ENTRYPOINT ["/bin/bash"]
|
ENTRYPOINT ["/bin/bash"]
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
apt -y update && \
|
export DEBIAN_FRONTEND=noninteractive && \
|
||||||
apt -y upgrade && \
|
apt -y update && \
|
||||||
apt -y install build-essential cmake gdb git iputils-ping nano perl python valgrind wget && \
|
apt -y upgrade && \
|
||||||
apt -y install mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev && \
|
apt -y install build-essential cmake gdb git iputils-ping nano perl python valgrind wget && \
|
||||||
apt -y install zlib1g-dev libssl-dev libnss3-dev libmysqlclient-dev libsqlite3-dev libxslt-dev libxml2-dev libjpeg-dev libpng-dev libopus-dev && \
|
apt -y install mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev && \
|
||||||
apt -y install libxcursor-dev libxcb1-dev libxcb-xkb-dev libx11-xcb-dev libxrender-dev libxi-dev libxcb-xinerama0-dev && \
|
apt -y install zlib1g-dev libssl-dev libnss3-dev libmysqlclient-dev libsqlite3-dev libxslt-dev libxml2-dev libjpeg-dev libpng-dev libopus-dev && \
|
||||||
apt -y autoremove && \
|
apt -y install libxcursor-dev libxcb1-dev libxcb-xkb-dev libx11-xcb-dev libxrender-dev libxi-dev libxcb-xinerama0-dev && \
|
||||||
apt -y autoclean && \
|
apt -y autoremove && \
|
||||||
cd /opt && \
|
apt -y autoclean && \
|
||||||
wget -q http://download.qt.io/official_releases/qt/5.9/5.9.0/single/qt-everywhere-opensource-src-5.9.0.tar.xz && \
|
cd /opt && \
|
||||||
tar xf qt-everywhere-opensource-src-5.9.0.tar.xz && \
|
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 qt-everywhere-opensource-src-5.9.0.tar.xz && \
|
tar xf qt-everywhere-opensource-src-5.9.0.tar.xz && \
|
||||||
cd qt-everywhere-opensource-src-5.9.0 && \
|
rm qt-everywhere-opensource-src-5.9.0.tar.xz && \
|
||||||
./configure -opensource -confirm-license -release -static -nomake tests -nomake examples -no-compile-examples && \
|
cd qt-everywhere-opensource-src-5.9.0 && \
|
||||||
make -j $(($(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1)+2)) && \
|
./configure -opensource -confirm-license -release -static -nomake tests -nomake examples -no-compile-examples && \
|
||||||
make install && \
|
make -j $(($(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1)+2)) && \
|
||||||
cd /opt && \
|
make install && \
|
||||||
rm -rf qt-everywhere-opensource-src-5.9.0 && \
|
cd /opt && \
|
||||||
exit 0
|
rm -rf qt-everywhere-opensource-src-5.9.0 && \
|
||||||
|
exit 0
|
||||||
|
|
||||||
ENV PATH="${PATH}:/usr/local/Qt-5.9.0/bin"
|
ENV PATH="${PATH}:/usr/local/Qt-5.9.0/bin"
|
||||||
|
|||||||
@@ -2,30 +2,29 @@ FROM ubuntu:latest
|
|||||||
ENTRYPOINT ["/bin/bash"]
|
ENTRYPOINT ["/bin/bash"]
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
apt -y update && \
|
export DEBIAN_FRONTEND=noninteractive && \
|
||||||
apt -y upgrade && \
|
apt -y update && \
|
||||||
apt -y install build-essential iputils-ping nano \
|
apt -y upgrade && \
|
||||||
autoconf automake autopoint bash bison bzip2 flex gettext \
|
apt -y install build-essential iputils-ping nano \
|
||||||
git g++ gperf intltool libffi-dev libgdk-pixbuf2.0-dev \
|
autoconf automake autopoint bash bison bzip2 flex gettext \
|
||||||
libtool-bin libltdl-dev libssl-dev libxml-parser-perl lzip make \
|
git g++ gperf intltool libffi-dev libgdk-pixbuf2.0-dev \
|
||||||
openssl p7zip-full patch perl pkg-config python ruby scons \
|
libtool-bin libltdl-dev libssl-dev libxml-parser-perl lzip make \
|
||||||
sed unzip wget xz-utils \
|
openssl p7zip-full patch perl pkg-config python ruby scons \
|
||||||
g++-multilib libc6-dev-i386 && \
|
sed unzip wget xz-utils \
|
||||||
apt -y autoremove && \
|
g++-multilib libc6-dev-i386 && \
|
||||||
apt -y autoclean && \
|
apt -y autoremove && \
|
||||||
apt -y clean && \
|
apt -y autoclean && \
|
||||||
exit 0
|
apt -y clean && \
|
||||||
|
exit 0
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
cd /opt && \
|
cd /opt && \
|
||||||
git clone https://github.com/mxe/mxe.git && \
|
git clone https://github.com/mxe/mxe.git && \
|
||||||
cd /opt/mxe && \
|
cd /opt/mxe && \
|
||||||
NPROC=$(($(nproc)+4)) && \
|
NPROC=$(($(nproc)+4)) && \
|
||||||
make --jobs=$NPROC JOBS=$NPROC MXE_TARGETS='x86_64-w64-mingw32.static' qtbase && \
|
make --jobs=$NPROC JOBS=$NPROC MXE_TARGETS='x86_64-w64-mingw32.static' qtbase && \
|
||||||
ln -s /opt/mxe/usr/bin/x86_64-w64-mingw32.static-qmake-qt5 /usr/bin/qmake && \
|
ln -s /opt/mxe/usr/bin/x86_64-w64-mingw32.static-qmake-qt5 /usr/bin/qmake && \
|
||||||
qmake --version && \
|
qmake --version && \
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
ENV PATH="${PATH}:/opt/mxe/usr/bin"
|
ENV PATH="${PATH}:/opt/mxe/usr/bin"
|
||||||
|
|
||||||
# qt5 qtmultimedia
|
|
||||||
|
|||||||
@@ -2,30 +2,29 @@ FROM ubuntu:latest
|
|||||||
ENTRYPOINT ["/bin/bash"]
|
ENTRYPOINT ["/bin/bash"]
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
apt -y update && \
|
export DEBIAN_FRONTEND=noninteractive && \
|
||||||
apt -y upgrade && \
|
apt -y update && \
|
||||||
apt -y install build-essential iputils-ping nano \
|
apt -y upgrade && \
|
||||||
autoconf automake autopoint bash bison bzip2 flex gettext \
|
apt -y install build-essential iputils-ping nano \
|
||||||
git g++ gperf intltool libffi-dev libgdk-pixbuf2.0-dev \
|
autoconf automake autopoint bash bison bzip2 flex gettext \
|
||||||
libtool-bin libltdl-dev libssl-dev libxml-parser-perl lzip make \
|
git g++ gperf intltool libffi-dev libgdk-pixbuf2.0-dev \
|
||||||
openssl p7zip-full patch perl pkg-config python ruby scons \
|
libtool-bin libltdl-dev libssl-dev libxml-parser-perl lzip make \
|
||||||
sed unzip wget xz-utils \
|
openssl p7zip-full patch perl pkg-config python ruby scons \
|
||||||
g++-multilib libc6-dev-i386 && \
|
sed unzip wget xz-utils \
|
||||||
apt -y autoremove && \
|
g++-multilib libc6-dev-i386 && \
|
||||||
apt -y autoclean && \
|
apt -y autoremove && \
|
||||||
apt -y clean && \
|
apt -y autoclean && \
|
||||||
exit 0
|
apt -y clean && \
|
||||||
|
exit 0
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
cd /opt && \
|
cd /opt && \
|
||||||
git clone https://github.com/mxe/mxe.git && \
|
git clone https://github.com/mxe/mxe.git && \
|
||||||
cd /opt/mxe && \
|
cd /opt/mxe && \
|
||||||
NPROC=$(($(nproc)+4)) && \
|
NPROC=$(($(nproc)+4)) && \
|
||||||
make --jobs=$NPROC JOBS=$NPROC MXE_TARGETS='i686-w64-mingw32.static' qtbase && \
|
make --jobs=$NPROC JOBS=$NPROC MXE_TARGETS='i686-w64-mingw32.static' qtbase && \
|
||||||
ln -s /opt/mxe/usr/bin/i686-w64-mingw32.static-qmake-qt5 /usr/bin/qmake && \
|
ln -s /opt/mxe/usr/bin/i686-w64-mingw32.static-qmake-qt5 /usr/bin/qmake && \
|
||||||
qmake --version && \
|
qmake --version && \
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
ENV PATH="${PATH}:/opt/mxe/usr/bin"
|
ENV PATH="${PATH}:/opt/mxe/usr/bin"
|
||||||
|
|
||||||
# qt5 qtmultimedia
|
|
||||||
|
|||||||
Reference in New Issue
Block a user