Same Problem here, anyone a solution?
I am getting same error while building image. Any suggestion on this?
Hello All,
I had this problem after generating the Mendix docker rootfs images (mendix-rootfs:app and mendix-rootfs:builder) on Windows and trying to build the mendix app image on linux.
The solution was to convert the line endings from Windows (\r\n) to Linux (\n) in the file ./scripts/startup.py from docker-mendix-buildpack.
If you notice the error, the message says exactly this on the first line of the above mentioned file:
‘python3\r’: No such file or directory
You can use Notepad++ or VS Code to convert to Linux line endings.
Maybe a better solution is to configure your git to handle the line endings for you. On your windows machine:
git config --global core.autocrlf true
I too faced the same issue while building the image, I found the solution to it if you build using the master branch's dockerfile, clone this particular tag v5.0.3 which runs without any problem.
Ensure to store the .MDA file stored in project folder and You have to unzip the .MDA deployment package file to solve this problem