Docker build new Image Error

Hi,
I'm getting this error "Step 24/34 : RUN INTERACTIVE=false MB_EDITION=$MB_EDITION bin/build
---> Running in 74246ec88e55
env: ‘bash\r’: No such file or directory
The command '/bin/sh -c INTERACTIVE=false MB_EDITION=$MB_EDITION bin/build' returned a non-zero code: 127"

I'm running docker image build -t diegobraun/tst-metabase-oracle:v1 . at the root folder of application.

Anyone know what can cause this exception? It pass at 23 steps, but this error I'm cannot resolve

Diego, please post your Dockerfile here, as it seems that your build can't find the bin/build for building Metabase.

The dockerfile is in this link: https://github.com/metabase/metabase/blob/release-x.39.x/Dockerfile

which branch are you trying to build? check this post Issues Building Metabase v0.38.2