VOL-1449 Create docker images including pyvoltha
Creates a base and pyvoltha docker image with installed
using a newer version of pip. Also include the README.md
file as pip install needed it inside the docker build.
Change-Id: I5450de4a855ed40f2eb611c55726dfcba720f41f
diff --git a/docker/Dockerfile.pyvoltha b/docker/Dockerfile.pyvoltha
new file mode 100644
index 0000000..4497934
--- /dev/null
+++ b/docker/Dockerfile.pyvoltha
@@ -0,0 +1,24 @@
+# Copyright 2016 the original author or authors.
+#
+# 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.
+ARG TAG=latest
+ARG REGISTRY=
+ARG REPOSITORY=
+
+FROM ${REGISTRY}${REPOSITORY}pyvoltha-base:${TAG}
+
+MAINTAINER Voltha Community <info@opennetworking.org>
+
+COPY dist /pyvoltha/dist
+RUN pip install /pyvoltha/dist/*.tar.gz
+