From 418f9225d6cbf92035c291f13f2e4c0cd547fa62 Mon Sep 17 00:00:00 2001 From: "Lovett, Trevor" Date: Wed, 23 Jan 2019 11:13:25 -0600 Subject: [PATCH] [VVP-82] Added Dockerfile for validations Issue-ID: VVP-82 Change-Id: I63b41d229a2119794752bce50a581087d7804c91 Signed-off-by: Lovett, Trevor --- Dockerfile | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 Dockerfile 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 -- 2.16.6