Skip to content

Commit

Permalink
toolchain: install en_US locale on Fedora as well
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-zero committed Aug 11, 2020
1 parent cc590ec commit 625daf7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions tools/toolchain/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ USER root
COPY ./install_requirements*.sh ./
RUN ./install_requirements.sh ${BASE_IMAGE}

# set a proper unicode-enabled locale, see https://hub.docker.com/_/ubuntu?tab=description
RUN localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
ENV LANG en_US.UTF-8

# copy helper scripts
Expand Down
1 change: 1 addition & 0 deletions tools/toolchain/install_requirements_fedora.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ dnf -qy install \
diffutils \
g++ \
git \
glibc-langpack-en \
less \
libtool \
make \
Expand Down
3 changes: 2 additions & 1 deletion tools/toolchain/install_requirements_ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ apt-get install -qq --no-install-recommends \

rm -rf /var/lib/apt/lists/*

#EOF
# generate a unicode-enabled locale, see https://hub.docker.com/_/ubuntu?tab=description
localedef -i C -c -f UTF-8 -A /usr/share/locale/locale.alias C.UTF-8

0 comments on commit 625daf7

Please sign in to comment.