":invalid option" running docker image

Hi!
I’m building a Docker image in a Windows machine using WSL2 on an Ubuntu distribution.
When building the image with “make build-docker-full” with the sources of 7.3.4 tag, I’m always getting an “:invalid option” when running the image.
If I build the image in the master branch, the image runs well.

Any hint on what might be wrong?

Thanks

Hi,
Bit of a late response to this but incase anyone else runs into this error.

It is due to the file “run.sh” getting changed into Windows format. To fix it open the “run.sh” file in Notepad++ , click on ‘Edit’–>‘EOL Conversion’–>‘Unix (LF)’ and save the file.