HumanSignal / HumanSignal/label-studio-ml-backend
SAM docker build fails due to incorrect line endings in download_models.sh
- Dominant language
- Python
- Stars
- 1.1k
- Forks
- 490
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 3
Description
When i run the docker build it gives the following error.
> [5/9] RUN bash /app/download_models.sh:
#9 0.295 /app/download_models.sh: line 2: $'\r': command not found
#9 0.296 /app/download_models.sh: line 5: $'\r': command not found
#9 0.297 /app/download_models.sh: line 6: syntax error near unexpected token `$'{\r''
'9 0.297 /app/download_models.sh: line 6: `download_model() {
------
executor failed running [/bin/sh -c bash /app/download_models.sh]: exit code: 2
fixed by changing the line ending to Unix LF instead of CRLF in visual studio code.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.