You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pg16/Dockerfile
+14
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,20 @@ LABEL fly.version=${VERSION}
39
39
LABEL fly.pg-version=${PG_VERSION}
40
40
LABEL fly.pg-manager=repmgr
41
41
42
+
# make the "en_US.UTF-8" locale so postgres will be utf-8 enabled by default
43
+
RUN set -eux; \
44
+
if [ -f /etc/dpkg/dpkg.cfg.d/docker ]; then \
45
+
# if this file exists, we're likely in "debian:xxx-slim", and locales are thus being excluded so we need to remove that exclusion (since we need locales)
Copy file name to clipboardExpand all lines: pg16/Dockerfile-timescaledb
+14
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,20 @@ LABEL fly.version=${VERSION}
38
38
LABEL fly.pg-version=${PG_VERSION}
39
39
LABEL fly.pg-manager=repmgr
40
40
41
+
# make the "en_US.UTF-8" locale so postgres will be utf-8 enabled by default
42
+
RUN set -eux; \
43
+
if [ -f /etc/dpkg/dpkg.cfg.d/docker ]; then \
44
+
# if this file exists, we're likely in "debian:xxx-slim", and locales are thus being excluded so we need to remove that exclusion (since we need locales)
0 commit comments