Update Dockerfile

This commit is contained in:
Faraz Fallahi
2019-11-18 22:01:23 -05:00
parent d987e2beda
commit 411a98d107

View File

@@ -1,4 +1,4 @@
FROM ubuntu:16.04 FROM ubuntu:latest
ENTRYPOINT ["/bin/bash"] ENTRYPOINT ["/bin/bash"]
RUN \ RUN \
@@ -21,10 +21,12 @@ 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 qtmultimedia && \ 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