Skip to content

Commit

Permalink
chore: update to otp 26, elixir 15: add jperf flag to enable arm64 build
Browse files Browse the repository at this point in the history
  • Loading branch information
nwittstruck committed Jan 4, 2024
1 parent 9637909 commit 06a66da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ FROM base as production_builder
# set build ENV
ENV MIX_ENV="prod"
ENV NODE_ENV="production"
# This is required for arm64 builds, see https://elixirforum.com/t/mix-deps-get-memory-explosion-when-doing-cross-platform-docker-build/57157
ENV ERL_FLAGS="+JPperf true"

# Setting this env var will avoid warnings from the production config
# We could leave it as it as no effect on the build output
Expand Down

0 comments on commit 06a66da

Please sign in to comment.