fix(elixir): set locale for docker images (docker)

Elixir wants to run under UTF-8 locales.  Since we changed the base
runner image to Debian, we have to set those variables for it to pick
them up.
This commit is contained in:
Thales Macedo Garitezi 2022-07-04 11:22:06 -03:00
parent f1d87944a9
commit 54181c49e9
1 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,10 @@ RUN export PROFILE="$EMQX_NAME" \
FROM $RUN_FROM
# Elixir complains if runs without UTF-8
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
COPY deploy/docker/docker-entrypoint.sh /usr/bin/
COPY --from=builder /emqx-rel/emqx /opt/emqx