genia-dev / GeniA

Your Engineering Gen AI Team member 🧬🤖💻
https://genia-dev.github.io/GeniA/
Apache License 2.0
364 stars 78 forks source link

Building & Running on Windows does not work. #15

Open umutcanoner opened 11 months ago

umutcanoner commented 11 months ago

Describe the bug

When attempting to run the GeniA docker container on Windows, I encountered an error indicating that entrypoint.sh cannot be found.

Steps to reproduce the behavior

  1. On a Windows machine, attempt to run the GeniA docker container.
  2. Observe the error indicating that entrypoint.sh cannot be found.

Expected vs actual behavior

Expected behavior: The docker container should run without any errors. Actual behavior: Received an error indicating that entrypoint.sh cannot be found.

Logs

N/A

Additional context

As a workaround, I had to clone and build GeniA on WSL (Windows Subsystem for Linux). After doing this, the docker container worked fine on Windows Docker Desktop. I believe it has to do with line endings.

clussier commented 11 months ago

I've found a solution to this issue. I was encountering the same error and the way I solved this was by changing the filetype of entrypoint.sh from CRLF to LF.

I did this in vscode by going into the entrypoint.sh file and clicking on CRLF in the bottom right of VSCode and changing it to LF.