fix(docker): update bash interpreter in init scripts

- Changed the bash interpreter path from /usr/bin/bash to /bin/bash in multiple init scripts for consistency and compatibility.
- Added PowerShell working directory configuration in the workspace file to streamline development environment setup.
This commit is contained in:
dawnsystem 2025-11-10 10:38:01 +01:00
parent 7f40a45a2c
commit cc3f17ec95
19 changed files with 19 additions and 18 deletions

View file

@ -1,4 +1,4 @@
#!/command/with-contenv /usr/bin/bash
#!/command/with-contenv /bin/bash
# shellcheck shell=bash
declare -r log_prefix="[init-complete]"
declare -r end_time=$(date +%s)

View file

@ -1,4 +1,4 @@
#!/command/with-contenv /usr/bin/bash
#!/command/with-contenv /bin/bash
# shellcheck shell=bash
declare -r log_prefix="[custom-init]"

View file

@ -1,4 +1,4 @@
#!/command/with-contenv /usr/bin/bash
#!/command/with-contenv /bin/bash
# shellcheck shell=bash
declare -r log_prefix="[env-init]"

View file

@ -1,4 +1,4 @@
#!/command/with-contenv /usr/bin/bash
#!/command/with-contenv /bin/bash
# shellcheck shell=bash
declare -r log_prefix="[init-folders]"

View file

@ -1,4 +1,4 @@
#!/command/with-contenv /usr/bin/bash
#!/command/with-contenv /bin/bash
# shellcheck shell=bash
declare -r log_prefix="[init-migrations]"

View file

@ -1,4 +1,4 @@
#!/command/with-contenv /usr/bin/bash
#!/command/with-contenv /bin/bash
# shellcheck shell=bash
declare -r log_prefix="[init-user]"

View file

@ -1,4 +1,4 @@
#!/command/with-contenv /usr/bin/bash
#!/command/with-contenv /bin/bash
# shellcheck shell=bash
declare -r log_prefix="[init-index]"

View file

@ -1,4 +1,4 @@
#!/command/with-contenv /usr/bin/bash
#!/command/with-contenv /bin/bash
# shellcheck shell=bash
declare -r log_prefix="[init-start]"

View file

@ -1,4 +1,4 @@
#!/command/with-contenv /usr/bin/bash
#!/command/with-contenv /bin/bash
# shellcheck shell=bash
declare -r log_prefix="[init-superuser]"

View file

@ -1,4 +1,4 @@
#!/command/with-contenv /usr/bin/bash
#!/command/with-contenv /bin/bash
# shellcheck shell=bash
declare -r log_prefix="[init-checks]"

View file

@ -1,4 +1,4 @@
#!/command/with-contenv /usr/bin/bash
#!/command/with-contenv /bin/bash
# shellcheck shell=bash
declare -r log_prefix="[init-tesseract-langs]"

View file

@ -1,4 +1,4 @@
#!/command/with-contenv /usr/bin/bash
#!/command/with-contenv /bin/bash
# shellcheck shell=bash
declare -r log_prefix="[init-db-wait]"

View file

@ -1,4 +1,4 @@
#!/command/with-contenv /usr/bin/bash
#!/command/with-contenv /bin/bash
# shellcheck shell=bash
declare -r log_prefix="[init-redis-wait]"

View file

@ -1,4 +1,4 @@
#!/command/with-contenv /usr/bin/bash
#!/command/with-contenv /bin/bash
# shellcheck shell=bash

View file

@ -1,4 +1,4 @@
#!/command/with-contenv /usr/bin/bash
#!/command/with-contenv /bin/bash
# shellcheck shell=bash
declare -r log_prefix="[svc-flower]"

View file

@ -1,4 +1,4 @@
#!/command/with-contenv /usr/bin/bash
#!/command/with-contenv /bin/bash
# shellcheck shell=bash
cd ${PAPERLESS_SRC_DIR}

View file

@ -1,4 +1,4 @@
#!/command/with-contenv /usr/bin/bash
#!/command/with-contenv /bin/bash
# shellcheck shell=bash
cd ${PAPERLESS_SRC_DIR}

View file

@ -1,4 +1,4 @@
#!/command/with-contenv /usr/bin/bash
#!/command/with-contenv /bin/bash
# shellcheck shell=bash
cd ${PAPERLESS_SRC_DIR}

View file

@ -33,6 +33,7 @@
"**/coverage.json": true
},
"python.defaultInterpreterPath": ".venv/bin/python3",
"powershell.cwd": "IntelliDocs-ngx",
},
"extensions": {
"recommendations": ["ms-python.python", "charliermarsh.ruff", "editorconfig.editorconfig"],