You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the run_path function and a few other places in the entrypoint.sh shell scripts, the following errors are found by the ShellCheck linter:
In 31/apache/entrypoint.sh line 24:
local hook_folder_path="/docker-entrypoint-hooks.d/$1"
^--------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In 31/apache/entrypoint.sh line 25:
local return_code=0
^---------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
Although the script does function correctly in this state, we probably should:
Drop the local command usage.
Change the shell interpreter to bash.
Suppress the warning using ShellCheck directives and call it a day.