Update Dockerfile
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM ubuntu:latest
|
||||
FROM ubuntu:18.04
|
||||
MAINTAINER Faraz Fallahi <fffaraz@gmail.com>
|
||||
RUN \
|
||||
apt -y update && \
|
||||
@@ -16,7 +16,7 @@ apt -y clean && \
|
||||
cd /opt && \
|
||||
git clone https://github.com/mxe/mxe.git && \
|
||||
cd mxe && \
|
||||
NPROC=$(($(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1)+4)) && \
|
||||
NPROC=$(($(nproc)+4)) && \
|
||||
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 && \
|
||||
qmake --version && \
|
||||
|
||||
Reference in New Issue
Block a user