kalkatfyodor
Is creating the Elixir release on arm Macbook M1 a problem when uploading that to an intel architecture Ubuntu server?
I would like to buy Macbook Air M1. However, it is an ARM computer and not an intel computer like my Linode server which is intel architecture.
Will I have a problem when creating a final release via
MIX_ENV=prod mix release
?
Also, does Elixir and Phoenix run OK on the M1 Mac? Does any of you use M1 Mac, how is your experience?
Most Liked
LostKobrakai
Releases were always bound to the architecture they’re built on. Even if you used mac os on an intel mac you couldn’t run releases built on it on an ubuntu host.
tmjoen
Just to be clear, you can just build your application in Docker, extract it from the build container as a compressed archive, upload it to your host and unpack. You don’t have to run it as a Docker container on your host
stefanluptak
Hi there!
I have a MacBook Air M1 and it is a fantastic machine. I encountered zero problems working with Elixir.
However, your release will not work. See mix release — Mix v1.12.3 for more info.
You can use Docker to do a cross-compilation. I build my releases with GitHub Actions that provide Ubuntu runners as it’s more a convenient way for me.
Hope it helps a bit.
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









