Skip to content

Commit

Permalink
docker fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
outscale-mgo committed Jul 29, 2024
1 parent 385e8a8 commit 4f4eb27
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 cat /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
Expand Down

0 comments on commit 4f4eb27

Please sign in to comment.