forked from wazuh/wazuh-docker
14 lines
389 B
Bash
14 lines
389 B
Bash
#!/bin/execlineb -S0
|
|
|
|
##
|
|
## load default PATH (the same that Docker includes if not provided) if it doesn't exist,
|
|
## then go ahead with stage1.
|
|
## this was motivated due to this issue:
|
|
## - https://github.com/just-containers/s6-overlay/issues/108
|
|
##
|
|
|
|
|
|
/bin/importas -D /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PATH PATH
|
|
export PATH ${PATH}
|
|
/etc/s6/init/init-stage1 $@
|