diff options
author | yangyan <yangyanyj@chinamobile.com> | 2019-04-02 16:47:11 +0800 |
---|---|---|
committer | yangyan <yangyanyj@chinamobile.com> | 2019-04-02 16:47:26 +0800 |
commit | 5d77874acf20b5520863721f408f04f03d001a84 (patch) | |
tree | 201fff94d266ad0f41c98511cdd2b67cb009561e /docker/docker-entrypoint.sh | |
parent | d0e890900ce40e6789b0c578a662cce5d10a9293 (diff) |
INcrease sh file execution pricileges
Change-Id: Idb9a32824e9989d42f891b839b8ff892af9bd713
Issue-ID: VFC-1330
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'docker/docker-entrypoint.sh')
-rwxr-xr-x | docker/docker-entrypoint.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh index 0a277fae..f3ed5865 100755 --- a/docker/docker-entrypoint.sh +++ b/docker/docker-entrypoint.sh @@ -1,5 +1,7 @@ #!/bin/bash +find /service -name '*.sh'|xargs chmod a+x + if [ -z "$SERVICE_IP" ]; then export SERVICE_IP=`hostname -i` fi |