From 1fabbfb39e4a0762f3bba81dca85769b58ba3061 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Thu, 21 Nov 2024 10:00:11 +0000 Subject: [PATCH] Fix building Dockerfile on hosts with different architecture than Docker See https://erlangforums.com/t/beam-docker-release-github-action-a-github-action-to-build-a-docker-container-from-a-beam-elixir-erlang-release/2090/2 --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index d1d94d8f..e584bd80 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,6 +33,7 @@ RUN mix local.hex --force && \ # set build ENV ENV MIX_ENV="prod" +ENV ERL_FLAGS="+JPperf true" # install mix dependencies COPY mix.exs mix.lock ./