Fix files according to pre-commit hooks

This commit is contained in:
Edward Almanzar 2024-10-06 06:27:29 -04:00
parent 408203d555
commit d7617cafed
2 changed files with 4 additions and 1 deletions

View file

@ -43,6 +43,7 @@ To verify the previous step, decode the APPS_JSON_BASE64 environment variable (w
```shell ```shell
echo -n ${APPS_JSON_BASE64} | base64 -d > apps-test-output.json echo -n ${APPS_JSON_BASE64} | base64 -d > apps-test-output.json
``` ```
2. Open the apps-test-output.json file to review the JSON output and ensure that the content is correct. 2. Open the apps-test-output.json file to review the JSON output and ensure that the content is correct.
Note: Note:

View file

@ -3,8 +3,10 @@
If you're encountering the error `exec /usr/local/bin/nginx-entrypoint.sh: no such file or directory` in a Docker container on Windows, follow these steps to resolve the issue. If you're encountering the error `exec /usr/local/bin/nginx-entrypoint.sh: no such file or directory` in a Docker container on Windows, follow these steps to resolve the issue.
## 1. Check Line Endings ## 1. Check Line Endings
On Windows, files often have `CRLF` line endings, while Linux systems expect `LF`. This can cause issues when executing shell scripts in Linux containers. On Windows, files often have `CRLF` line endings, while Linux systems expect `LF`. This can cause issues when executing shell scripts in Linux containers.
- **Convert Line Endings using `dos2unix`:** - **Convert Line Endings using `dos2unix`:**
```bash ```bash
dos2unix resources/nginx-entrypoint.sh dos2unix resources/nginx-entrypoint.sh
```