FROM fedora:23 MAINTAINER Jeroen van Meeuwen RUN sed -i \ -e '/tsflags=nodocs/d' \ -e '/override_install_langs/d' \ /etc/dnf/dnf.conf && \ sed -i \ -e 's/^#baseurl/baseurl/g' \ -e 's/^metalink/#metalink/g' \ /etc/yum.repos.d/*.repo && \ rm -rf /bin/applydeltarpm RUN dnf -y install \ cmake \ gcc-c++ \ git \ make && \ dnf clean all RUN git clone https://github.com/google/flatbuffers.git /root/flatbuffers.git/ WORKDIR /root/flatbuffers.git/build/ RUN cmake .. RUN make -j8 RUN make install RUN git clone git://anongit.kde.org/kasync.git /root/kasync.git/ RUN dnf -y install \ extra-cmake-modules \ kf5-kcoreaddons-devel \ qt5-qtbase-devel && \ dnf clean all WORKDIR /root/kasync.git/ RUN mkdir -p build WORKDIR /root/kasync.git/build/ RUN cmake .. RUN make -j8 RUN make install RUN git clone git://anongit.kde.org/kmime.git /root/kmime.git/ RUN dnf -y install \ kf5-kcodecs-devel \ kf5-ki18n-devel && \ dnf clean all WORKDIR /root/kmime.git/ RUN mkdir -p build WORKDIR /root/kmime.git/build/ RUN cmake .. RUN make -j8 RUN make install RUN git clone -b develop git://anongit.kde.org/sink.git /root/sink.git/ RUN dnf -y install \ extra-cmake-modules \ libgit2-devel \ lmdb-devel \ qt5-qtbase-devel \ readline-devel && \ dnf clean all WORKDIR /root/sink.git/ RUN sed -i \ -e '/inspectiontest/d' \ -e '/maildirresourcetest/d' \ tests/CMakeLists.txt RUN mkdir -p build WORKDIR /root/sink.git/build/ RUN cmake .. RUN make -j8 RUN make install RUN git clone git://anongit.kde.org/gpgmepp.git /root/gpgmepp.git/ RUN dnf -y install \ boost-devel \ gpgme-devel && \ dnf clean all WORKDIR /root/gpgmepp.git/ RUN mkdir -p build WORKDIR /root/gpgmepp.git/build/ RUN cmake .. RUN make -j8 RUN make install RUN git clone -b dev/minimalbuild git://anongit.kde.org/clones/libkleo/cmollekopf/libkleo.git /root/libkleo.git/ RUN dnf -y install \ kf5-kconfig-devel \ qt5-qttools-static && \ dnf clean all WORKDIR /root/libkleo.git/ RUN mkdir -p build WORKDIR /root/libkleo.git/build RUN cmake .. RUN make -j 8 RUN make install RUN git clone -b dev/libotp git://anongit.kde.org/clones/messagelib/knauss/libotp.git /root/libotp.git/ RUN dnf -y install \ kf5-kiconthemes-devel && \ dnf clean all WORKDIR /root/libotp.git/ RUN mkdir -p build WORKDIR /root/libotp.git/build/ RUN cmake .. RUN make -j8 RUN make install RUN git clone -b develop git://anongit.kde.org/kube.git /root/kube.git/ RUN dnf -y install \ extra-cmake-modules \ kf5-kpackage-devel \ qt5-qtdeclarative-devel && \ dnf clean all WORKDIR /root/kube.git/ RUN sed -i \ -e 's|/work/install/|/usr/local/|' \ -e 's|/usr/local/include/KF5/KIconThemes|/usr/include/KF5/KIconThemes|' \ framework/CMakeLists.txt RUN mkdir -p build WORKDIR /root/kube.git/build/ RUN cmake .. RUN make -j8 RUN make install