Use noninteractive frontend when installing packages

to silence 'unable to initialize frontend' messages
This commit is contained in:
2026-07-28 09:35:28 -07:00
parent 16696c64e3
commit 8a011ae3c6

View File

@@ -1,7 +1,8 @@
FROM debian:unstable FROM debian:unstable
RUN apt-get update \ 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 \ RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen \
&& locale-gen && locale-gen