summaryrefslogtreecommitdiffstats
path: root/ocata/docker
diff options
context:
space:
mode:
authorHuang Haibin <haibin.huang@intel.com>2018-10-17 19:19:45 +0800
committerHuang Haibin <haibin.huang@intel.com>2018-10-17 19:19:45 +0800
commitc84dd3502631ef29f2849d3f252311ed3bb30c68 (patch)
tree91045e432372617ec4811b3694c77eb67d66b1ee /ocata/docker
parent2ecaac4a52f9fdbe0fef7e27062f2f2e444afb1f (diff)
Add license for ocata plugin
Change-Id: I1d0a4ab6ad42bab238036dee6a8a224d378a9519 Issue-ID: MULTICLOUD-384 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
Diffstat (limited to 'ocata/docker')
-rw-r--r--ocata/docker/Dockerfile14
-rwxr-xr-xocata/docker/build_image.sh14
2 files changed, 28 insertions, 0 deletions
diff --git a/ocata/docker/Dockerfile b/ocata/docker/Dockerfile
index 97bbc7ba..df993078 100644
--- a/ocata/docker/Dockerfile
+++ b/ocata/docker/Dockerfile
@@ -1,3 +1,17 @@
+# Copyright (c) 2018 Intel Corporation.
+#
+# 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.
+
FROM python:2.7
ARG HTTP_PROXY=${HTTP_PROXY}
diff --git a/ocata/docker/build_image.sh b/ocata/docker/build_image.sh
index 68f4e8a6..5a1aa778 100755
--- a/ocata/docker/build_image.sh
+++ b/ocata/docker/build_image.sh
@@ -1,4 +1,18 @@
#!/bin/bash
+# Copyright (c) 2018 Intel Corporation.
+#
+# 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}"