Skip to content

Commit

Permalink
Merge pull request #236 from dod-advana/patch-dockerfile
Browse files Browse the repository at this point in the history
Update Centos Mirror List
  • Loading branch information
emmarez committed Jul 3, 2024
2 parents 71d7878 + 293ec2c commit 4de0bdd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker/core/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ SHELL ["/bin/bash", "-c"]
# LOCALE (important for python, etc.)
RUN localedef -i en_US -f UTF-8 en_US.UTF-8

# Update mirrors due to Centos7 EOL
RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo
RUN sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo
RUN sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo

ENV LANG="en_US.UTF-8"
ENV LANGUAGE="en_US.UTF-8"
ENV LC_CTYPE="en_US.UTF-8"
Expand Down

0 comments on commit 4de0bdd

Please sign in to comment.