From 7331cdc0f5acd9692a1b6d43b8b66bf72137d6ae Mon Sep 17 00:00:00 2001 From: xiaomingplus Date: Tue, 29 Jan 2019 14:08:19 +0800 Subject: [PATCH] provision: Fix Docker development environment unicode issues. Apparently, we need these environment settings in bashrc as well. Fixes #11323. --- Dockerfile-dev | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile-dev b/Dockerfile-dev index d90a505e9e..a7e7fdc63a 100644 --- a/Dockerfile-dev +++ b/Dockerfile-dev @@ -11,7 +11,7 @@ RUN useradd -d /home/zulip -m zulip && echo 'zulip ALL=(ALL) NOPASSWD:ALL' >> /e USER zulip RUN ln -nsf /srv/zulip ~/zulip - +RUN echo 'export LC_ALL="en_US.UTF-8" LANG="en_US.UTF-8" LANGUAGE="en_US.UTF-8"' >> ~zulip/.bashrc RUN echo 'export LC_ALL="en_US.UTF-8" LANG="en_US.UTF-8" LANGUAGE="en_US.UTF-8"' >> ~zulip/.bash_profile WORKDIR /srv/zulip