Files
docker-qt/windows/Dockerfile

23 lines
820 B
Docker
Raw Normal View History

2017-06-05 11:13:43 -05:00
FROM ubuntu:latest
MAINTAINER Faraz Fallahi <fffaraz@gmail.com>
2017-06-05 11:39:28 -05:00
RUN \
apt -y update && \
apt -y upgrade && \
2017-10-03 16:48:37 -05:00
apt -y install iputils-ping nano \
autoconf automake autopoint bash bison bzip2 flex gettext \
git g++ gperf intltool libffi-dev libgdk-pixbuf2.0-dev \
libtool-bin libltdl-dev libssl-dev libxml-parser-perl make \
openssl p7zip-full patch perl pkg-config python ruby scons \
sed unzip wget xz-utils \
g++-multilib libc6-dev-i386 &&
2017-06-05 11:39:28 -05:00
apt -y autoremove && \
apt -y autoclean && \
2017-10-03 16:48:37 -05:00
apt -y clean && \
2017-06-05 11:39:28 -05:00
cd /opt && \
git clone https://github.com/mxe/mxe.git && \
cd mxe && \
2017-10-03 16:48:37 -05:00
make -j $(($(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1)+2)) MXE_TARGETS='i686-w64-mingw32.static' qtbase && \
/opt/mxe/usr/bin/i686-w64-mingw32.static-qmake-qt5 --version
2017-06-05 11:39:28 -05:00
exit 0
ENV PATH="${PATH}:/opt/mxe/usr/bin"