Files
docker-qt/win32/Dockerfile

31 lines
1002 B
Docker
Raw Normal View History

2019-11-18 22:01:23 -05:00
FROM ubuntu:latest
2019-03-11 19:27:11 -05:00
ENTRYPOINT ["/bin/bash"]
2019-11-18 21:03:58 -05:00
2017-06-05 11:39:28 -05:00
RUN \
2020-05-26 23:43:56 -04:00
export DEBIAN_FRONTEND=noninteractive && \
apt -y update && \
apt -y upgrade && \
apt -y install build-essential 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 lzip make \
openssl p7zip-full patch perl pkg-config python ruby scons \
sed unzip wget xz-utils \
g++-multilib libc6-dev-i386 && \
apt -y autoremove && \
apt -y autoclean && \
apt -y clean && \
exit 0
2019-11-18 21:03:58 -05:00
RUN \
2020-05-26 23:43:56 -04:00
cd /opt && \
git clone https://github.com/mxe/mxe.git && \
cd /opt/mxe && \
NPROC=$(($(nproc)+4)) && \
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 && \
qmake --version && \
exit 0
2019-11-18 21:03:58 -05:00
2017-06-05 11:39:28 -05:00
ENV PATH="${PATH}:/opt/mxe/usr/bin"