Merge pull request #8412 from thalesmg/fix-docker-locale-elixir

fix(elixir): set locale for docker images (docker)
This commit is contained in:
Zaiming (Stone) Shi 2022-07-04 22:30:18 +01:00 committed by GitHub
commit 58fa3d6a75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,10 @@ RUN export PROFILE="$EMQX_NAME" \
FROM $RUN_FROM 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 deploy/docker/docker-entrypoint.sh /usr/bin/
COPY --from=builder /emqx-rel/emqx /opt/emqx COPY --from=builder /emqx-rel/emqx /opt/emqx