summaryrefslogtreecommitdiffstats
path: root/pike/docker
diff options
context:
space:
mode:
authorHuang Haibin <haibin.huang@intel.com>2018-10-17 19:10:08 +0800
committerHuang Haibin <haibin.huang@intel.com>2018-10-17 19:10:08 +0800
commit2ecaac4a52f9fdbe0fef7e27062f2f2e444afb1f (patch)
tree0878557621d1bafff64c12ed5ef746dc2a01bae1 /pike/docker
parentbd8d6784e1bb354e630fa4eb4643dda37a74777c (diff)
Add license for pike
Change-Id: I779bc427bf8e0ff682806b8c8933312b1dd5a340 Issue-ID: MULTICLOUD-384 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
Diffstat (limited to 'pike/docker')
-rw-r--r--pike/docker/Dockerfile14
-rwxr-xr-xpike/docker/build_image.sh15
2 files changed, 29 insertions, 0 deletions
diff --git a/pike/docker/Dockerfile b/pike/docker/Dockerfile
index 45e99502..a280bb61 100644
--- a/pike/docker/Dockerfile
+++ b/pike/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/pike/docker/build_image.sh b/pike/docker/build_image.sh
index 6b77447c..377a32a5 100755
--- a/pike/docker/build_image.sh
+++ b/pike/docker/build_image.sh
@@ -1,4 +1,19 @@
#!/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}"