From 505c8ec51688ed941a675102c9375219f408d9e2 Mon Sep 17 00:00:00 2001 From: Mathias Fredriksson Date: Tue, 14 Jan 2025 16:55:20 +0000 Subject: [PATCH] chore(dogfood): unminimize ubuntu image to include man pages --- dogfood/contents/Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dogfood/contents/Dockerfile b/dogfood/contents/Dockerfile index 21a3825427c2d..089ed20b19fa6 100644 --- a/dogfood/contents/Dockerfile +++ b/dogfood/contents/Dockerfile @@ -104,7 +104,13 @@ ARG DEBIAN_FRONTEND="noninteractive" # Updated certificates are necessary to use the teraswitch mirror. # This must be ran before copying in configuration since the config replaces # the default mirror with teraswitch. -RUN apt-get update && apt-get install --yes ca-certificates +# Also enable the en_US.UTF-8 locale so that we don't generate multiple locales +# and unminimize to include man pages. +RUN apt-get update && \ + apt-get install --yes ca-certificates locales && \ + echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && \ + locale-gen && \ + yes | unminimize COPY files /