File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -990,6 +990,18 @@ EXPOSE 5432
990
990
991
991
ENV POSTGRES_HOST=/var/run/postgresql
992
992
ENV POSTGRES_USER=supabase_admin
993
+ RUN apt-get update && apt-get install -y --no-install-recommends \
994
+ locales \
995
+ && rm -rf /var/lib/apt/lists/* && \
996
+ localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 \
997
+ && localedef -i C -c -f UTF-8 -A /usr/share/locale/locale.alias C.UTF-8
998
+ RUN echo "C.UTF-8 UTF-8" > /etc/locale.gen && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && locale-gen
999
+ ENV LANG en_US.UTF-8
1000
+ ENV LANGUAGE en_US:en
1001
+ ENV LC_ALL en_US.UTF-8
1002
+ ENV LC_CTYPE=C.UTF-8
1003
+ ENV LC_COLLATE=C.UTF-8
1004
+ ENV LOCALE_ARCHIVE /usr/lib/locale/locale-archive
993
1005
CMD ["postgres" , "-D" , "/etc/postgresql" ]
994
1006
995
1007
# ###################
You can’t perform that action at this time.
0 commit comments