forgot to add f27 dockerfile...

This commit is contained in:
Tru Huynh (pasteur.fr) 2018-03-23 18:32:17 +01:00
parent 995b2a14ad
commit 434639c6f5
2 changed files with 18 additions and 3 deletions

View File

@ -5,12 +5,15 @@ RUN yum -y install epel-release
RUN yum -y install git cmake3 make qt5-qtbase-devel gcc \
avahi-compat-libdns_sd-devel gcc-c++ curl-devel \
openssl-devel \
libXtst-devel libXinerama-devel libICE-devel libXrandr-devel
libXtst-devel libXinerama-devel libICE-devel libXrandr-devel \
rpm-build
# c6 g++ is not CXX14
RUN yum -y install centos-release-scl-rh
# devtoolset-3 is enough but one can use devtoolset-N
RUN yum -y install devtoolset-3-gcc-c++.x86_64
RUN git clone https://github.com/debauchee/barrier/
RUN cd barrier && scl enable devtoolset-3 ./clean_build.sh | tee clean_build.log && tar czvf build.tgz build clean_build.log
#RUN git clone https://github.com/debauchee/barrier/
RUN git clone https://github.com/truatpasteurdotfr/barrier/
#RUN cd barrier && scl enable devtoolset-3 ./clean_build.sh | tee clean_build.log && tar czvf build.tgz build clean_build.log
RUN cd barrier && scl enable devtoolset-3 ./build_rpm.sh | tee clean_build.log

View File

@ -0,0 +1,12 @@
FROM fedora:27
RUN yum -y update && yum -y upgrade
RUN yum -y install git cmake3 make qt5-qtbase-devel gcc \
avahi-compat-libdns_sd-devel gcc-c++ curl-devel \
openssl-devel \
libXtst-devel libXinerama-devel libICE-devel libXrandr-devel \
rpm-build
#RUN git clone https://github.com/debauchee/barrier/
RUN git clone https://github.com/truatpasteurdotfr/barrier/
RUN cd barrier && ./build_rpm.sh | tee clean_build.log