From f31a4aae35a221ce5ecf660a34b989c44620e976 Mon Sep 17 00:00:00 2001 From: Harivansh Rathi Date: Sat, 11 Apr 2026 00:08:12 +0000 Subject: [PATCH] fix: upgrade guest kernel to 6.1.155 and neovim to latest via PPA --- Dockerfile | 5 ++++- defaults/.profile | 2 ++ defaults/.zshrc | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cbc4e43..8a3feaf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,8 @@ FROM public.ecr.aws/docker/library/ubuntu:24.04 SHELL ["/bin/bash", "-o", "pipefail", "-c"] ENV DEBIAN_FRONTEND=noninteractive -ENV EDITOR=nvim \ +ENV LANG=C.UTF-8 \ + EDITOR=nvim \ VISUAL=nvim \ XDG_CONFIG_HOME=/home/node/.config \ XDG_CACHE_HOME=/home/node/.cache \ @@ -14,9 +15,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ ca-certificates \ curl \ gnupg \ + software-properties-common \ && mkdir -p /etc/apt/keyrings \ && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \ && printf '%s\n' "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_22.x nodistro main" >/etc/apt/sources.list.d/nodesource.list \ + && add-apt-repository -y ppa:neovim-ppa/unstable \ && apt-get update \ && apt-get install -y --no-install-recommends \ bat \ diff --git a/defaults/.profile b/defaults/.profile index 09a5fb9..099b28a 100644 --- a/defaults/.profile +++ b/defaults/.profile @@ -1,3 +1,5 @@ +export LANG="${LANG:-C.UTF-8}" + if [ -n "${BASH_VERSION:-}" ] && [ -f "$HOME/.bashrc" ]; then . "$HOME/.bashrc" fi diff --git a/defaults/.zshrc b/defaults/.zshrc index 029bbd1..a1026bf 100644 --- a/defaults/.zshrc +++ b/defaults/.zshrc @@ -1,3 +1,5 @@ +export LANG="${LANG:-C.UTF-8}" + HISTFILE="${HOME}/.zsh_history" HISTSIZE=50000 SAVEHIST=50000