From a6fad6aa469b01af0a1ec24a3d543c11c503b7c3 Mon Sep 17 00:00:00 2001 From: Azalea <22280294+hykilpikonna@users.noreply.github.com> Date: Sat, 28 Mar 2026 04:59:07 -0400 Subject: [PATCH] [F] Fix devtainer --- config/devtainer/Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/config/devtainer/Dockerfile b/config/devtainer/Dockerfile index 22ec48cc..7458b109 100644 --- a/config/devtainer/Dockerfile +++ b/config/devtainer/Dockerfile @@ -1,7 +1,7 @@ FROM archlinux:latest RUN pacman -Syu --noconfirm \ - && pacman -S --noconfirm openssh sudo jdk17-openjdk wget which procps-ng zsh git curlie micro ripgrep python3 exa \ + && pacman -S --noconfirm openssh sudo jdk21-openjdk wget which procps-ng zsh git curlie micro ripgrep python3 exa \ && rm -rf /var/cache/pacman/pkg/* \ && mkdir -p /var/run/sshd \ && chsh -s /bin/zsh root \ @@ -12,6 +12,11 @@ RUN sed -i 's/.*PermitRootLogin.*/PermitRootLogin yes/' /etc/ssh/sshd_config \ && sed -i 's/#PasswordAuthentication yes/PasswordAuthentication yes/' /etc/ssh/sshd_config \ && sed -i 's/UsePAM yes/UsePAM no/' /etc/ssh/sshd_config +RUN echo "LC_ALL=en_US.UTF-8" >> /etc/environment \ + && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \ + && echo "LANG=en_US.UTF-8" > /etc/locale.conf \ + && locale-gen en_US.UTF-8 + RUN ssh-keygen -A && passwd -d root CMD ["/usr/sbin/sshd", "-D"]