summaryrefslogtreecommitdiffstats
path: root/newton/docker
diff options
context:
space:
mode:
authorHuang Haibin <haibin.huang@intel.com>2018-10-17 19:27:21 +0800
committerHuang Haibin <haibin.huang@intel.com>2018-10-18 09:51:42 +0800
commit8c7c3682cf19a8064752d4d7b5d9b232b73416b8 (patch)
tree6faee8bdfa1d1d6db2fdab8ec9899b1b11f8b5f0 /newton/docker
parentc84dd3502631ef29f2849d3f252311ed3bb30c68 (diff)
Add license for newton plugin
Change-Id: I2e13b64a2a00a2165190318cb264da5e9038d989 Issue-ID: MULTICLOUD-384 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
Diffstat (limited to 'newton/docker')
-rw-r--r--newton/docker/Dockerfile14
-rw-r--r--newton/docker/build_image.sh14
2 files changed, 28 insertions, 0 deletions
diff --git a/newton/docker/Dockerfile b/newton/docker/Dockerfile
index 83610a4f..02422735 100644
--- a/newton/docker/Dockerfile
+++ b/newton/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
ARG HTTP_PROXY=${HTTP_PROXY}
diff --git a/newton/docker/build_image.sh b/newton/docker/build_image.sh
index a563c0e7..2342e0b7 100644
--- a/newton/docker/build_image.sh
+++ b/newton/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}"