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:
parent
f1d87944a9
commit
54181c49e9
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue