Add locale support and environment variables to Dockerfile
All checks were successful
Build k8s-mgmt-pod image / Build & Push (push) Successful in 1m49s
All checks were successful
Build k8s-mgmt-pod image / Build & Push (push) Successful in 1m49s
This commit is contained in:
parent
47fe90296e
commit
998012fdff
1 changed files with 7 additions and 0 deletions
|
|
@ -35,6 +35,9 @@ ARG OIDC_LOGIN_VERSION=1.34.0
|
|||
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive \
|
||||
LANG=en_US.UTF-8 \
|
||||
LANGUAGE=en_US:en \
|
||||
LC_ALL=en_US.UTF-8 \
|
||||
WEB_SSH_PORT=3000 \
|
||||
WEBSSH2_LISTEN_PORT=3001 \
|
||||
WEBSSH2_SSH_HOST=127.0.0.1 \
|
||||
|
|
@ -51,6 +54,7 @@ RUN apt-get update \
|
|||
bash-completion \
|
||||
ca-certificates \
|
||||
curl \
|
||||
locales \
|
||||
unzip \
|
||||
tar \
|
||||
nginx-light \
|
||||
|
|
@ -93,6 +97,9 @@ RUN apt-get update \
|
|||
&& kubectl completion bash > /etc/bash_completion.d/kubectl \
|
||||
&& helm completion bash > /etc/bash_completion.d/helm \
|
||||
&& chmod 0644 /etc/bash_completion.d/kubectl /etc/bash_completion.d/helm \
|
||||
&& sed -i 's/^# *en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen \
|
||||
&& locale-gen en_US.UTF-8 \
|
||||
&& update-locale LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 \
|
||||
&& rm -f /tmp/kubectl.sha256 \
|
||||
&& rm -rf /tmp/linux-amd64 \
|
||||
&& rm -f \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue