** (RuntimeError) found error while checking types for Jason.Decoder.float_decode_function/1: in Docker

Updated to run with elixir 1.18.1
with nuked _build, deps and mix.lock running mix deps.get in the submodule in the Docker container first get the jason error

Error while loading project :jason at /my_umbrella_project/my_submodule/deps/jason
** (ArgumentError) could not call Module.put_attribute/3 because the module Nerves.MixProject is already compiled
    (elixir 1.18.1) lib/module.ex:2398: Module.assert_not_readonly!/2
    (elixir 1.18.1) lib/module.ex:2079: Module.__put_attribute__/5     /my_umbrella_project/my_submodule/deps/jason/mix.exs:2: (module)

But running mix deps.get a second time it builds perfectly fine.