mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 17:59:31 +02:00
Container: Add ERL_FLAGS to compile elixir on qemu cross-platform
Without this, compiling Elixir on arm64 using QEMU fails with: <<"could not call Module.put_attribute/3 because the module ExUnit.DocTest is already compiled">> Solution found in: https://elixirforum.com/t/elixir-docker-image-wont-build-for-linux-arm64-v8-using-github-actions/56383/13
This commit is contained in:
parent
8070a656fe
commit
74d6d53ac6
1 changed files with 1 additions and 0 deletions
1
.github/container/Dockerfile
vendored
1
.github/container/Dockerfile
vendored
|
@ -42,6 +42,7 @@ RUN wget -O - https://github.com/elixir-lang/elixir/archive/v$ELIXIR_VSN.tar.gz
|
||||||
| tar -xzf -
|
| tar -xzf -
|
||||||
|
|
||||||
WORKDIR elixir-$ELIXIR_VSN
|
WORKDIR elixir-$ELIXIR_VSN
|
||||||
|
ENV ERL_FLAGS="+JPperf true"
|
||||||
RUN make install clean
|
RUN make install clean
|
||||||
|
|
||||||
RUN mix local.hex --force \
|
RUN mix local.hex --force \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue