From 88f27f70a7555561e018e73aaa5e00f712bebc5b Mon Sep 17 00:00:00 2001 From: Belegnar Date: Sun, 17 Dec 2023 07:21:51 +0300 Subject: [PATCH] add locales avoid ``` The database was initialized with LC_COLLATE "XXX", which is not recognized by setlocale() ``` --- Dockerfile.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.template b/Dockerfile.template index 287e789..fbd8cfb 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -4,7 +4,7 @@ RUN sed -i 's/$/ {{ .old }}/' /etc/apt/sources.list.d/pgdg.list RUN set -eux; \ apt-get update; \ - apt-get install -y --no-install-recommends \ + apt-get install -y --no-install-recommends locales locales-all \ postgresql-{{ .old }}={{ .version | @sh }} \ ; \ rm -rf /var/lib/apt/lists/*