I had the same error, and also resolved it by selecting a different base debian image, but I used a different one than @slondr found success with. I used bullseye-20210902-slim, finding an image in the hexpm list of images that has your exact elixir/erlang combination available seems to be the path forward.