More Dockerfile fixes, and do not use "ln -r" since it is not supported on older Linux distributions.

This commit is contained in:
Adam Ierymenko 2016-06-27 14:36:58 -07:00
commit 233945e60f
3 changed files with 7 additions and 25 deletions

View file

@ -4,14 +4,8 @@ MAINTAINER Adam Ierymenko <adam.ierymenko@zerotier.com>
RUN yum update -y
RUN yum install -y epel-release
RUN yum install -y make development-tools rpmdevtools http-parser-devel lz4-devel libnatpmp-devel
#RUN yum install -y centos-release-scl
#RUN yum install -y devtoolset-4-gcc-c++
RUN yum install -y clang
RUN yum install -y gcc-c++
#RUN ln -sf /opt/rh/devtoolset-4/root/usr/bin/gcc /usr/bin/gcc
#RUN ln -sf /opt/rh/devtoolset-4/root/usr/bin/g++ /usr/bin/g++
RUN yum install -y tar
ADD zt1-src.tar.gz /