WhisperLive icon indicating copy to clipboard operation
WhisperLive copied to clipboard

The `setup.sh` file is using `CRLF`, which should be `LF` since it's a shell script.

Open orrest opened this issue 1 year ago • 6 comments

The problem occurs when build the docker image.

orrest avatar Nov 21 '23 07:11 orrest

You are on Windows or Linux? setup.sh is already LF.

zoq avatar Nov 21 '23 19:11 zoq

I had the same issue on windows trying to build the container. I used dos2unix to patch setup.sh and it was able to docker build

zdaar avatar Dec 18 '23 14:12 zdaar

I also had the same issue, used visual studio code to switch the file from CRLF to LF.

Stinosko avatar Jan 28 '24 21:01 Stinosko

@Stinosko what OS are you on? I double checked the file format and it is LF indeed

makaveli10 avatar Jan 29 '24 05:01 makaveli10

@makaveli10 It was on Ubuntu 22.04 LTS in Windows subsystem for Linux

Stinosko avatar Feb 02 '24 19:02 Stinosko

My theory so far: I first git cloned the repo in windows to start an docker instance with the docker files. I had some issue so i copied the files into WSL as that was faster than git clone the repo again. Maybe by trying to run the repo in windows the file got changed into CRLF 🤷‍♂️

Stinosko avatar Feb 02 '24 19:02 Stinosko