Skip to content
Snippets Groups Projects
Commit 8ceeb8b4 authored by Guillaume Roguez's avatar Guillaume Roguez Committed by gerrit2
Browse files

add docker config files

These Dockerfiles are preset docker configuration
to give an easy way to setup build environment.

This patch starts with Windows MingW configuration.
More to come...

Change-Id: Idf923038622ef2ac2e76b2407e969ad83b4eb83b
parent 9075f0ab
No related branches found
No related tags found
No related merge requests found
FROM fedora:25
ENV LANG en_US.utf8
ENV LC_ALL en_US.utf8
RUN dnf -y upgrade
# General
RUN dnf -y install \
unzip \
openssh
# 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
ENV CROSS_COMPILE i686-w64-mingw32-
ENV HOST i686-w64-mingw32
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment