I love @fly.io and want them to succeed, but their continued unreliability forces me to consider alternative hosting solutions. I’m looking into Kamal and Digital Ocean. Any other recommendations?
Post
Did you have any luck? There's a discussion here elixirforum.com/t/arm64-dock... of the limitations of using JPperf true but it was the only way I could cross-build.
elixirforum.comArm64 Dockerfile failing: ERROR [builder 6/17] RUN mix deps.get --only prodGithub action cross build for arm64 still use QEMU, and it’s QEMU bug: maybe wait until github action support arm64 natively.
Try ENV ERL_FLAGS="+JPperf true" in the generated Dockerfile from mix release, under MIX_ENV=prod. It took some Googling, this blog post helped and there's a sproadic thread on elixirforum. blog.psantos.dev/deploying-ph...
blog.psantos.devDeploying Phoenix application with Kamal 2Kamal is a deployment tool designed for deploying containerized applications. It’s specifically optimized for use with docker based applications, simplifying the process of building, deployin…
I use depot.dev to build for arm/amd etc and it’s been amazing, specially with its insane build speed and cache. This fork here supports depot builders in Kamal if you’re interested: github.com/navinpeiris/...
depot.devDepotAccelerated builds for Docker images and GitHub Actions workflows.