Dockerfile_windows_mingw 1.27 KB
Newer Older
1
FROM fedora:27
2 3 4 5 6 7 8

ENV LANG en_US.utf8
ENV LC_ALL en_US.utf8

RUN dnf -y upgrade

# General
9
RUN dnf -y groupinstall "Minimal Install"
10 11
RUN dnf -y install \
 unzip \
12 13
 openssh \
 rsync
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71

# Mingw 32/64
RUN dnf -y install \
 mingw32-binutils \
 mingw32-gcc \
 mingw32-headers \
 mingw32-crt \
 mingw32-gcc-c++ \
 mingw32-pkg-config \
 mingw32-nsis \
 mingw64-binutils \
 mingw64-gcc \
 mingw64-headers \
 mingw64-crt \
 mingw64-gcc-c++ \
 mingw64-pkg-config

# Build environment
RUN dnf -y install \
 git \
 gawk \
 yasm \
 gettext-devel \
 cmake \
 patch \
 libtool \
 automake \
 make \
 xz \
 bzip2 \
 which \
 sudo \
 java-1.8.0-openjdk \
 java-1.8.0-openjdk-devel

# LRC Req
RUN dnf -y install \
 mingw32-qt5-qtbase \
 mingw32-qt5-qttools \
 mingw64-qt5-qtbase \
 mingw64-qt5-qttools

# Client Req
RUN dnf -y install \
 mingw32-qt5-qtsvg \
 mingw64-qt5-qtsvg \
 mingw32-qt5-qtwinextras \
 mingw64-qt5-qtwinextras \
 mingw32-libidn \
 mingw64-libidn \
 mingw32-xz-libs \
 mingw64-xz-libs

# Buid Env. Var.

ENV CMAKE_PREFIX_PATH /usr/i686-w64-mingw32/sys-root/mingw/lib/cmake:/usr/x86_64-w64-mingw32/sys-root/mingw/lib/cmake
ENV QTDIR /usr/i686-w64-mingw32/sys-root/mingw/lib/qt5/:/usr/x86_64-w64-mingw32/sys-root/mingw/lib/qt5/
ENV PATH /usr/i686-w64-mingw32/bin/qt5/:/usr/x86_64-w64-mingw32/bin/qt5/:$PATH