diff --git a/docker/Dockerfile b/docker/Dockerfile index 47f2b30..8233daa 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -2,9 +2,16 @@ FROM centos:7 RUN echo "assumeyes=1" >> /etc/yum.conf -RUN yum search epel-release -RUN yum info epel-release -RUN yum install -y epel-release wget +RUN sed -i 's/#baseurl/baseurl/' /etc/yum.repos.d/CentOS-Base.repo + +RUN car /etc/resolv.conf | sed 's/nameserver [0-9]*.[0-9]*.[0-9]*.[0-9]*/nameserver 8.8.8.8/' > /etc/resolv.conf + +RUN cat /etc/yum.repos.d/CentOS-Base.repo + +RUN yum install -y wget + +RUN wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm +RUN yum install epel-release-latest-7.noarch.rpm RUN yum update -y RUN yum install -y git autoconf automake make cmake3 json-c-devel centos-release-scl-rh libnghttp2 libpsl libtool pkgconfig fuse-devel file cargo libcurl-devel