diff options
Diffstat (limited to 'vio/docker')
-rwxr-xr-x | vio/docker/build_image.sh | 14 | ||||
-rwxr-xr-x | vio/docker/docker-entrypoint.sh | 13 | ||||
-rwxr-xr-x | vio/docker/instance-config.sh | 15 | ||||
-rwxr-xr-x | vio/docker/instance-init.sh | 13 | ||||
-rwxr-xr-x | vio/docker/instance-run.sh | 13 |
5 files changed, 67 insertions, 1 deletions
diff --git a/vio/docker/build_image.sh b/vio/docker/build_image.sh index e7a652f..10e3fa0 100755 --- a/vio/docker/build_image.sh +++ b/vio/docker/build_image.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright (c) 2017-2018 VMware, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + DIRNAME=`dirname $0` DOCKER_BUILD_DIR=`cd $DIRNAME/; pwd` echo "DOCKER_BUILD_DIR=${DOCKER_BUILD_DIR}" diff --git a/vio/docker/docker-entrypoint.sh b/vio/docker/docker-entrypoint.sh index 632c558..7858fae 100755 --- a/vio/docker/docker-entrypoint.sh +++ b/vio/docker/docker-entrypoint.sh @@ -1,4 +1,17 @@ #!/bin/bash +# Copyright (c) 2017-2018 VMware, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. if [ -z "$SERVICE_IP" ]; then diff --git a/vio/docker/instance-config.sh b/vio/docker/instance-config.sh index cb05a9a..5623109 100755 --- a/vio/docker/instance-config.sh +++ b/vio/docker/instance-config.sh @@ -1,4 +1,17 @@ -#!/usr/bin/env bash +#!/bin/bash +# Copyright (c) 2017-2018 VMware, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # Configure MSB IP address MSB_IP=`echo $MSB_ADDR | cut -d: -f 1` diff --git a/vio/docker/instance-init.sh b/vio/docker/instance-init.sh index f7e0e0e..37a4d89 100755 --- a/vio/docker/instance-init.sh +++ b/vio/docker/instance-init.sh @@ -1,4 +1,17 @@ #!/bin/bash -v +# Copyright (c) 2017-2018 VMware, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # Initialize DB schema #./bin/initDB.sh root rootpass 3306 127.0.0.1 diff --git a/vio/docker/instance-run.sh b/vio/docker/instance-run.sh index d01cebb..9dabfa2 100755 --- a/vio/docker/instance-run.sh +++ b/vio/docker/instance-run.sh @@ -1,4 +1,17 @@ #!/bin/bash -v +# Copyright (c) 2017-2018 VMware, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. cd ./vio ./run.sh |