Skip to content

Commit

Permalink
Fix building docker image for init user (#1408)
Browse files Browse the repository at this point in the history
* Fix docker build for cento8, To #37688693

Signed-off-by: cheyang <[email protected]>

* Fix docker build for cento8, To #37688693

Signed-off-by: cheyang <[email protected]>
  • Loading branch information
cheyang authored Feb 2, 2022
1 parent 0fdffb3 commit 6997fad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion charts/alluxio/docker/init-users/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ FROM centos:centos8.2.2004

COPY *.sh /

RUN yum install -y net-tools
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*.repo && \
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*.repo && \
yum install -y net-tools

RUN chmod +x /*.sh

Expand Down

0 comments on commit 6997fad

Please sign in to comment.