initial commit

docker build -t barrier-c6 .
This commit is contained in:
Tru Huynh 2018-02-23 22:12:59 +01:00 committed by GitHub
parent 49d2835f89
commit b20f53f52f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
FROM centos:centos6
RUN yum -y update && yum -y upgrade
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
# 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