We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5f6b520 + e84a921 commit 0261de8Copy full SHA for 0261de8
1 file changed
ruby/Dockerfile
@@ -12,8 +12,11 @@ RUN apt-get update -qq \
12
git \
13
libpq-dev \
14
libyaml-dev \
15
+ locales \
16
pkg-config \
17
postgresql-client \
18
+ && sed -i '/en_US.UTF-8/s/^# //' /etc/locale.gen \
19
+ && locale-gen \
20
&& rm -rf /var/lib/apt/lists /var/cache/apt/archives
21
22
# Non-root user for downstream runtime stages
@@ -23,7 +26,8 @@ RUN useradd --system --uid 1000 app && chown app:app /app
23
26
ENV BUNDLE_DEPLOYMENT="1" \
24
27
BUNDLE_PATH="/usr/local/bundle" \
25
28
BUNDLE_CACHE_PATH="/usr/local/bundle/cache" \
- BUNDLE_WITHOUT="development"
29
+ BUNDLE_WITHOUT="development" \
30
+ LANG="C.UTF-8"
31
32
# This can be overwritten at runtime
33
CMD ["ruby", "-v"]
0 commit comments