Skip to content

Commit 0261de8

Browse files
authored
Merge branch 'main' into skip-existing-ruby-images
2 parents 5f6b520 + e84a921 commit 0261de8

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

ruby/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,11 @@ RUN apt-get update -qq \
1212
git \
1313
libpq-dev \
1414
libyaml-dev \
15+
locales \
1516
pkg-config \
1617
postgresql-client \
18+
&& sed -i '/en_US.UTF-8/s/^# //' /etc/locale.gen \
19+
&& locale-gen \
1720
&& rm -rf /var/lib/apt/lists /var/cache/apt/archives
1821

1922
# Non-root user for downstream runtime stages
@@ -23,7 +26,8 @@ RUN useradd --system --uid 1000 app && chown app:app /app
2326
ENV BUNDLE_DEPLOYMENT="1" \
2427
BUNDLE_PATH="/usr/local/bundle" \
2528
BUNDLE_CACHE_PATH="/usr/local/bundle/cache" \
26-
BUNDLE_WITHOUT="development"
29+
BUNDLE_WITHOUT="development" \
30+
LANG="C.UTF-8"
2731

2832
# This can be overwritten at runtime
2933
CMD ["ruby", "-v"]

0 commit comments

Comments
 (0)