wdiechmann
I’ve compiled as much info as possible in a gist here - but the recap is:
- it’s a totally “empty”
mix phx.new . --app battery_rehab - docker compose build works
- docker compose run --rm phoenix mix test works
- docker compose up ends phoenix with error 139
I’ve tried to google for it - but somehow I’ve managed to land both feet right into unchartered territory (with the closest thing that I could muster was that rebuild assets.deploy fail)
which probably speaks to the utter n00bness of me at all dabbling with 1.6 and containers (coming from ruby-land - and been wanting to for nearly 4/5 years on now without getting that well-deserved breakthrough - it’s tough) ![]()
Hoping one of you guys in here knows what kind of animal a ‘139’ is -
BR
Walther
Trending in Questions
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
Hello,
I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
So my question is quite simple and i have found no conclusive answer on forum, google or AI.
Should we use :erlang.float for Integer to ...
New
Documentation
While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New
Other Trending Topics
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself.
My main conc...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixirconf-us
- #ai
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming










Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
outlog
what computer are you on?
looks like esbuild is getting arm64 linux, and then crashing - is that correct-ish?
wdiechmann
I’m on an M1 (Apple) - and I won’t deny that it sat with me for nearly 8 months before I tried to do any good with it
(mostly because things like
)
brewturned out to be such a hazzlewdiechmann
but the container is running off of elixir:latest (the Dockerfile gives that away in line 1) but what “platform” has never been of much interest to me - I use it very frequently with Rails containers
but I have to hurry to admit that I probably should care! And not knowing how to tell Docker to use a different “platform” may be an issue -
by the looks of it - the “platform” is aarch64
dug into the ‘container-chain’ and it turns out that it all comes down to a Debian of sorts
outlog
most likely something with arm64 and that image.. can you try using the hexpm/elixir image instead hexpm/elixir - Docker Image
hexpm/elixir:1.12.0-erlang-24.1-alpine-3.14.0 maybe?
wdiechmann
love to - right at it now!
wdiechmann
thx!
That had me going forward!
Important lesson too! Not all platforms are made equal
(not that I didn’t know that - from building on Symbian60 in the late '90’s - but I kind’a guessed that with Docker being an “abstraction layer” this sort of was a thing of the past) - guess not
huge thank you!
outlog
awesome!
using https://asdf-vm.com for elixir/erlang/node and just running natively no containers is pretty big here in elixir land, so you can try that some adventurous day
wdiechmann
I’m a big fan of
asdffor sure - it did very well in ruby-land too, allowing me to context switch between 10+ year old projects and newly minted ones in a blink of an eye - or should I saycdMaybe the communities around projects like nokogiri have it ironed out by now but going 10/12 months back the M1 platform was in fact a terrible place to be running anything native that would require compiling open source stuff hence the “acquired taste” for containers
tjstankus
Just wanted to say thanks for posting this thread. I hit the exact same error. I thought for sure it would be some obscure thing I’d have to Google for a while. But, nope, the question and answer were right there on the front page of Elixir Forum!
wdiechmann