Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building & Running on Windows does not work. #15

Open
umutcanoner opened this issue Oct 18, 2023 · 1 comment
Open

Building & Running on Windows does not work. #15

umutcanoner opened this issue Oct 18, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@umutcanoner
Copy link

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.

@umutcanoner umutcanoner added the bug Something isn't working label Oct 18, 2023
@clussier
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants