From 34ef78155e2d9b6fa93d689482246d9feab1e5e6 Mon Sep 17 00:00:00 2001 From: Faraz Fallahi Date: Fri, 3 Aug 2018 17:40:12 -0500 Subject: [PATCH] Update Dockerfile --- windows/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/windows/Dockerfile b/windows/Dockerfile index 443199b..b8cbee6 100644 --- a/windows/Dockerfile +++ b/windows/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:latest +FROM ubuntu:18.04 MAINTAINER Faraz Fallahi 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 && \