Use C everywhere

This commit is contained in:
Jan Provaznik 2021-11-24 15:24:17 +01:00
parent 6b2d75fc44
commit f77e611bdf
15 changed files with 30 additions and 30 deletions

View file

@ -81,9 +81,9 @@ ARG BAZELISK_DOWNLOAD_SHA256
RUN if [ -n "$BAZELISK_VERSION" ] ; then /scripts/install-bazelisk $BAZELISK_VERSION $BAZELISK_DOWNLOAD_SHA256; fi RUN if [ -n "$BAZELISK_VERSION" ] ; then /scripts/install-bazelisk $BAZELISK_VERSION $BAZELISK_DOWNLOAD_SHA256; fi
RUN locale-gen en_US.UTF-8 RUN locale-gen C.UTF-8
ENV LANG=C.UTF-8 \ ENV LANG=C.UTF-8 \
LANGUAGE=en_US:en \ LANGUAGE=C \
LC_ALL=C.UTF-8 LC_ALL=C.UTF-8
# Set as env variables all versions configured # Set as env variables all versions configured

View file

@ -7,9 +7,9 @@ RUN apt-get update -q \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN echo "C.UTF-8 UTF-8" > /etc/locale.gen RUN echo "C.UTF-8 UTF-8" > /etc/locale.gen
RUN locale-gen en_US.UTF-8 RUN locale-gen C.UTF-8
ENV LANG C.UTF-8 ENV LANG C.UTF-8
ENV LANGUAGE en_US:en ENV LANGUAGE C
ENV LC_ALL C.UTF-8 ENV LC_ALL C.UTF-8
ENV RUBY_VERSION 2.6.5 ENV RUBY_VERSION 2.6.5

View file

@ -7,9 +7,9 @@ RUN apt-get update -q \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN echo "C.UTF-8 UTF-8" > /etc/locale.gen RUN echo "C.UTF-8 UTF-8" > /etc/locale.gen
RUN locale-gen en_US.UTF-8 RUN locale-gen C.UTF-8
ENV LANG C.UTF-8 ENV LANG C.UTF-8
ENV LANGUAGE en_US:en ENV LANGUAGE C
ENV LC_ALL C.UTF-8 ENV LC_ALL C.UTF-8

View file

@ -8,7 +8,7 @@ RUN yum update -y -q \
ENV LANG C.UTF-8 ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8 ENV LC_ALL C.UTF-8
RUN localedef -c -f UTF-8 -i en_US C.UTF-8 RUN localedef -c -f UTF-8 -i C C.UTF-8
ENV RUBY_VERSION 2.6.5 ENV RUBY_VERSION 2.6.5
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.6/ruby-${RUBY_VERSION}.tar.gz" \ RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.6/ruby-${RUBY_VERSION}.tar.gz" \

View file

@ -8,7 +8,7 @@ RUN yum update -y -q \
ENV LANG C.UTF-8 ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8 ENV LC_ALL C.UTF-8
RUN localedef -c -f UTF-8 -i en_US C.UTF-8 RUN localedef -c -f UTF-8 -i C C.UTF-8
ENV RUBY_VERSION 2.6.5 ENV RUBY_VERSION 2.6.5
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.6/ruby-${RUBY_VERSION}.tar.gz" \ RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.6/ruby-${RUBY_VERSION}.tar.gz" \

View file

@ -7,9 +7,9 @@ RUN apt-get update -q \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN echo "C.UTF-8 UTF-8" > /etc/locale.gen RUN echo "C.UTF-8 UTF-8" > /etc/locale.gen
RUN locale-gen en_US.UTF-8 RUN locale-gen C.UTF-8
ENV LANG C.UTF-8 ENV LANG C.UTF-8
ENV LANGUAGE en_US:en ENV LANGUAGE C
ENV LC_ALL C.UTF-8 ENV LC_ALL C.UTF-8
ENV RUBY_VERSION 2.6.5 ENV RUBY_VERSION 2.6.5

View file

@ -7,9 +7,9 @@ RUN apt-get update -q \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN echo "C.UTF-8 UTF-8" > /etc/locale.gen RUN echo "C.UTF-8 UTF-8" > /etc/locale.gen
RUN locale-gen en_US.UTF-8 RUN locale-gen C.UTF-8
ENV LANG C.UTF-8 ENV LANG C.UTF-8
ENV LANGUAGE en_US:en ENV LANGUAGE C
ENV LC_ALL C.UTF-8 ENV LC_ALL C.UTF-8
ENV RUBY_VERSION 2.6.5 ENV RUBY_VERSION 2.6.5

View file

@ -8,8 +8,8 @@ RUN zypper -q -n --gpg-auto-import-keys update \
ENV LANG C.UTF-8 ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8 ENV LC_ALL C.UTF-8
ENV LANGUAGE en_US:en ENV LANGUAGE C
RUN localedef -i en_US -f UTF-8 C.UTF-8 RUN localedef -i C -f UTF-8 C.UTF-8
ENV RUBY_VERSION 2.6.5 ENV RUBY_VERSION 2.6.5
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.6/ruby-${RUBY_VERSION}.tar.gz" \ RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.6/ruby-${RUBY_VERSION}.tar.gz" \

View file

@ -6,10 +6,10 @@ RUN zypper -q -n --gpg-auto-import-keys update \
gcc gcc-c++ git make curl zlib-devel libopenssl-devel glibc-i18ndata glibc-locale hostname \ gcc gcc-c++ git make curl zlib-devel libopenssl-devel glibc-i18ndata glibc-locale hostname \
&& zypper clean -a && zypper clean -a
ENV LANG en_US.UTF-8 ENV LANG C.UTF-8
ENV LC_ALL en_US.UTF-8 ENV LC_ALL C.UTF-8
ENV LANGUAGE en_US:en ENV LANGUAGE C
RUN localedef -i en_US -f UTF-8 en_US.UTF-8 RUN localedef -i C -f UTF-8 C.UTF-8
ENV RUBY_VERSION 2.6.5 ENV RUBY_VERSION 2.6.5
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.6/ruby-${RUBY_VERSION}.tar.gz" \ RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.6/ruby-${RUBY_VERSION}.tar.gz" \

View file

@ -6,10 +6,10 @@ RUN zypper -q -n --gpg-auto-import-keys update \
gcc gcc-c++ git make curl zlib-devel libopenssl-devel glibc-i18ndata glibc-locale hostname \ gcc gcc-c++ git make curl zlib-devel libopenssl-devel glibc-i18ndata glibc-locale hostname \
&& zypper clean -a && zypper clean -a
ENV LANG en_US.UTF-8 ENV LANG C.UTF-8
ENV LC_ALL en_US.UTF-8 ENV LC_ALL C.UTF-8
ENV LANGUAGE en_US:en ENV LANGUAGE C
RUN localedef -i en_US -f UTF-8 en_US.UTF-8 RUN localedef -i C -f UTF-8 C.UTF-8
ENV RUBY_VERSION 2.6.5 ENV RUBY_VERSION 2.6.5
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.6/ruby-${RUBY_VERSION}.tar.gz" \ RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.6/ruby-${RUBY_VERSION}.tar.gz" \

View file

@ -7,9 +7,9 @@ RUN apt-get update -q \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN echo "C.UTF-8 UTF-8" > /etc/locale.gen RUN echo "C.UTF-8 UTF-8" > /etc/locale.gen
RUN locale-gen en_US.UTF-8 RUN locale-gen C.UTF-8
ENV LANG C.UTF-8 ENV LANG C.UTF-8
ENV LANGUAGE en_US:en ENV LANGUAGE C
ENV LC_ALL C.UTF-8 ENV LC_ALL C.UTF-8

View file

@ -7,9 +7,9 @@ RUN apt-get update -q \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN echo "C.UTF-8 UTF-8" > /etc/locale.gen RUN echo "C.UTF-8 UTF-8" > /etc/locale.gen
RUN locale-gen en_US.UTF-8 RUN locale-gen C.UTF-8
ENV LANG C.UTF-8 ENV LANG C.UTF-8
ENV LANGUAGE en_US:en ENV LANGUAGE C
ENV LC_ALL C.UTF-8 ENV LC_ALL C.UTF-8
ENV RUBY_VERSION 2.6.5 ENV RUBY_VERSION 2.6.5

View file

@ -7,9 +7,9 @@ RUN apt-get update -q \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN echo "C.UTF-8 UTF-8" > /etc/locale.gen RUN echo "C.UTF-8 UTF-8" > /etc/locale.gen
RUN locale-gen en_US.UTF-8 RUN locale-gen C.UTF-8
ENV LANG C.UTF-8 ENV LANG C.UTF-8
ENV LANGUAGE en_US:en ENV LANGUAGE C
ENV LC_ALL C.UTF-8 ENV LC_ALL C.UTF-8
ENV RUBY_VERSION 2.6.5 ENV RUBY_VERSION 2.6.5

View file

@ -4,5 +4,5 @@ RUN apk add --update --no-cache build-base cmake git openssh-client openssl-dev
# Set UTF-8 http://jaredmarkell.com/docker-and-locales/ # Set UTF-8 http://jaredmarkell.com/docker-and-locales/
ENV LANG C.UTF-8 ENV LANG C.UTF-8
ENV LANGUAGE en_US:en ENV LANGUAGE C
ENV LC_ALL C.UTF-8 ENV LC_ALL C.UTF-8

View file

@ -13,5 +13,5 @@ RUN cd /usr/bin && find ../lib/google-cloud-sdk/bin -type f -executable -exec ln
# Set UTF-8 http://jaredmarkell.com/docker-and-locales/ # Set UTF-8 http://jaredmarkell.com/docker-and-locales/
# Must be set after install-essentials is run # Must be set after install-essentials is run
ENV LANG C.UTF-8 ENV LANG C.UTF-8
ENV LANGUAGE en_US:en ENV LANGUAGE C
ENV LC_ALL C.UTF-8 ENV LC_ALL C.UTF-8