Update Dockerfile
This commit is contained in:
@@ -17,7 +17,7 @@ cd /opt && \
|
|||||||
git clone https://github.com/mxe/mxe.git && \
|
git clone https://github.com/mxe/mxe.git && \
|
||||||
cd mxe && \
|
cd mxe && \
|
||||||
NPROC=$(($(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1)+4)) && \
|
NPROC=$(($(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1)+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 qtmultimedia && \
|
||||||
/opt/mxe/usr/bin/i686-w64-mingw32.static-qmake-qt5 --version && \
|
/opt/mxe/usr/bin/i686-w64-mingw32.static-qmake-qt5 --version && \
|
||||||
exit 0
|
exit 0
|
||||||
ENV PATH="${PATH}:/opt/mxe/usr/bin"
|
ENV PATH="${PATH}:/opt/mxe/usr/bin"
|
||||||
|
|||||||
Reference in New Issue
Block a user