Update Dockerfile
This commit is contained in:
1 parent
34ef78155e
commit
f506a68894
1 file changed
+2
-3
+2
-3
@@ -1,5 +1,4 @@
|
|||||||
FROM ubuntu:18.04
|
FROM ubuntu:16.04
|
||||||
MAINTAINER Faraz Fallahi <[email protected]>
|
|
||||||
RUN \
|
RUN \
|
||||||
apt -y update && \
|
apt -y update && \
|
||||||
apt -y upgrade && \
|
apt -y upgrade && \
|
||||||
@@ -15,7 +14,7 @@ apt -y autoclean && \
|
|||||||
apt -y clean && \
|
apt -y clean && \
|
||||||
cd /opt && \
|
cd /opt && \
|
||||||
git clone https://github.com/mxe/mxe.git && \
|
git clone https://github.com/mxe/mxe.git && \
|
||||||
cd mxe && \
|
cd /opt/mxe && \
|
||||||
NPROC=$(($(nproc)+4)) && \
|
NPROC=$(($(nproc)+4)) && \
|
||||||
make --jobs=$NPROC JOBS=$NPROC MXE_TARGETS='i686-w64-mingw32.static' qtbase qtmultimedia && \
|
make --jobs=$NPROC JOBS=$NPROC MXE_TARGETS='i686-w64-mingw32.static' qtbase qtmultimedia && \
|
||||||
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 && \
|
||||||
|
|||||||
Reference in new issue
Block a user