summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2019-04-02 16:43:50 +0800
committeryangyan <yangyanyj@chinamobile.com>2019-04-02 16:43:59 +0800
commit109b7d38cdc2af41b8bc5a8223df0e23ce3d29d5 (patch)
treef615fab4371d692e02ecd632bba7ed3f919a4c27 /docker
parent1ee4a11393e48d1b98649872a1fc383c46ea7475 (diff)
Increase sh file execution privileges
Change-Id: Icb5140ada1d189dec7d5028b016a7a38187ec796 Issue-ID: VFC-1330 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/docker-entrypoint.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh
index 814d1798..e116c33b 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