mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-11 02:52:56 +01:00
Skip locale-gen for some ubuntu distros
C.UTF-8 is pregenerated anyway, so no need to re-run it. Also defaults to en_US for centos 7 because C.UTF-8 is not available there.
This commit is contained in:
parent
f77e611bdf
commit
dd836768c3
4 changed files with 5 additions and 9 deletions
|
|
@ -6,8 +6,6 @@ RUN apt-get update -q \
|
|||
&& apt-get clean -yqq \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN echo "C.UTF-8 UTF-8" > /etc/locale.gen
|
||||
RUN locale-gen C.UTF-8
|
||||
ENV LANG C.UTF-8
|
||||
ENV LANGUAGE C
|
||||
ENV LC_ALL C.UTF-8
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue