Oof!!, that actually worked.
I set the default platform to to amd64
:
export DOCKER_DEFAULT_PLATFORM=linux/amd64
and modified Dockerfile-dev
to include the flag ENV ERL_FLAGS="+JPperf true"
...
ARG BUILDER_IMAGE="hexpm/elixir:${ELIXIR_VERSION}-erlang-${OTP_VERSION}-debian-${DEBIAN_VERSION}"
ARG RUNNER_IMAGE="debian:${DEBIAN_VERSION}"
FROM ${BUILDER_IMAGE} as dev
ARG NODE_VERSION
ENV ERL_FLAGS="+JPperf true"
...
Let me know if this doesn’t work on your end.