aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLovett, Trevor <trevor.lovett@att.com>2019-01-23 11:13:25 -0600
committerLovett, Trevor <trevor.lovett@att.com>2019-01-23 11:14:02 -0600
commit418f9225d6cbf92035c291f13f2e4c0cd547fa62 (patch)
tree72346b074c4bd8d66869822bfee60081bae3b71d
parent3fee7ccbfd465eb82508229306cd69d4f0340239 (diff)
[VVP-82] Added Dockerfile for validations
Issue-ID: VVP-82 Change-Id: I63b41d229a2119794752bce50a581087d7804c91 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
-rw-r--r--Dockerfile48
1 files changed, 48 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..6090e4f
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,48 @@
+# ============LICENSE_START==================================================
+# org.onap.vvp/validation-scripts
+# ===========================================================================
+# Copyright © 2019 AT&T Intellectual Property. All rights reserved.
+# ===========================================================================
+
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the "License");
+# you may not use this software 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.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the "License");
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# 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.
+#
+# ============LICENSE_END====================================================
+
+FROM python:3.6-alpine
+
+COPY requirements.txt /
+
+RUN pip install -r /requirements.txt
+
+COPY ice_validator/ /vvp
+
+WORKDIR /vvp
+
+ENTRYPOINT ["pytest"] \ No newline at end of file