Skip to content

Commit

Permalink
Merge pull request #97 from jakirkham/ensure_locales_work
Browse files Browse the repository at this point in the history
Ensure locales work
  • Loading branch information
jakirkham authored Jun 27, 2019
2 parents df76223 + dacf042 commit 260c85f
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
3 changes: 2 additions & 1 deletion linux-anvil-aarch64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
# to the point of not being properly functional
# See: https://github.com/CentOS/sig-cloud-instance-images/issues/71
RUN yum update -y && \
yum reinstall -y glibc-common
yum reinstall -y glibc-common && \
yum clean all
RUN localedef -i en_US -f UTF-8 en_US.UTF-8

# Install basic requirements.
Expand Down
8 changes: 8 additions & 0 deletions linux-anvil-comp7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ ADD http://worldclockapi.com/api/json/utc/now /opt/docker/etc/timestamp
# Resolves a nasty NOKEY warning that appears when using yum.
RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

# Fix up issues with locales because the default images have these minimized
# to the point of not being properly functional
# See: https://github.com/CentOS/sig-cloud-instance-images/issues/71
RUN yum update -y && \
yum reinstall -y glibc-common && \
yum clean all
RUN localedef -i en_US -f UTF-8 en_US.UTF-8

# Install basic requirements.
RUN yum update -y && \
yum install -y \
Expand Down
8 changes: 8 additions & 0 deletions linux-anvil-cuda/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ ADD http://worldclockapi.com/api/json/utc/now /opt/docker/etc/timestamp
# Resolves a nasty NOKEY warning that appears when using yum.
RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

# Fix up issues with locales because the default images have these minimized
# to the point of not being properly functional
# See: https://github.com/CentOS/sig-cloud-instance-images/issues/71
RUN yum update -y && \
yum reinstall -y glibc-common && \
yum clean all
RUN localedef -i en_US -f UTF-8 en_US.UTF-8

# Remove preinclude system compilers
RUN rpm -e --nodeps --verbose gcc gcc-c++

Expand Down
3 changes: 2 additions & 1 deletion linux-anvil-ppc64le/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
# to the point of not being properly functional
# See: https://github.com/CentOS/sig-cloud-instance-images/issues/71
RUN yum update -y && \
yum reinstall -y glibc-common
yum reinstall -y glibc-common && \
yum clean all
RUN localedef -i en_US -f UTF-8 en_US.UTF-8

# Install basic requirements.
Expand Down

0 comments on commit 260c85f

Please sign in to comment.