Skip to content

Commit

Permalink
install sed.
Browse files Browse the repository at this point in the history
  • Loading branch information
CusiniM committed Jul 8, 2024
1 parent 2eec3a7 commit 67dc1f0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docker/tpl-centos-gcc-cuda.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@ ARG SRC_DIR
ARG INSTALL_DIR
ENV GEOSX_TPL_DIR=$INSTALL_DIR

RUN yum -y update && \
yum -y install yum-utils && \
yum -y install sed

RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo \
sed -i s/^#.*baseurl=http/baseurl=https/g /etc/yum.repos.d/*.repo \
sed -i s/^mirrorlist=http/#mirrorlist=https/g /etc/yum.repos.d/*.repo \
yum upgrade
sed -i s/^mirrorlist=http/#mirrorlist=https/g /etc/yum.repos.d/*.repo

# Using gcc 8.3.1 provided by the Software Collections (SCL).
RUN yum install -y \
Expand Down

0 comments on commit 67dc1f0

Please sign in to comment.