From 8a011ae3c680efe46b1d6894447f0d825cca3c44 Mon Sep 17 00:00:00 2001 From: Catalin Constantin Mititiuc Date: Tue, 28 Jul 2026 09:35:28 -0700 Subject: [PATCH] Use noninteractive frontend when installing packages to silence 'unable to initialize frontend' messages --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8f1a016..72058c8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,11 @@ FROM debian:unstable RUN apt-get update \ - && apt-get install -q -y locales git curl ripgrep tree-sitter-cli build-essential neovim + && DEBIAN_FRONTEND=noninteractive apt-get install -q -y \ + locales git curl ripgrep tree-sitter-cli build-essential neovim RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen \ - && locale-gen + && locale-gen ENV LANG=en_US.UTF-8 ENV LANGUAGE=en_US:en ENV LC_ALL=en_US.UTF-8 @@ -13,9 +14,9 @@ WORKDIR /opt COPY init.vim . RUN mkdir -p ~/.config/nvim \ - && mv ./init.vim ~/.config/nvim + && mv ./init.vim ~/.config/nvim RUN sh -c 'curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' RUN nvim -c "PlugInstall" -c "qall" \ - && nvim -c "TSUpdate" -c "qall" + && nvim -c "TSUpdate" -c "qall"