From 8d995e4427af062e640a8a23f306b9d68aa9b7ef Mon Sep 17 00:00:00 2001 From: leafee98 Date: Sun, 14 May 2023 22:32:19 +0800 Subject: [PATCH] use C.UTF-8 as locale --- cuda/Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cuda/Dockerfile b/cuda/Dockerfile index e137b47..7839e3a 100644 --- a/cuda/Dockerfile +++ b/cuda/Dockerfile @@ -18,10 +18,14 @@ RUN true \ && echo root:${ROOT_PASSWD} | chpasswd \ \ && apt update \ - && apt install --yes ssh tini zsh netcat file neovim git \ + && apt install --yes ssh tini zsh netcat file neovim git locales \ && apt clean \ && rm -rf /var/lib/apt/lists/* \ \ + && sed -i '/C.UTF-8/s/^# //g' /etc/locale.gen \ + && locale-gen \ + && update-locale LANG=C.UTF-8 \ + \ && usermod --shell /usr/bin/zsh root \ \ && mkdir /run/sshd \