aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/scripts/multicloud-pike/generic_sim/Dockerfile
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-08-20 17:55:30 +0000
committerGerrit Code Review <gerrit@onap.org>2018-08-20 17:55:30 +0000
commit73287961525fa2be819ac9701370c1ebb36456a5 (patch)
treefef8f8b3cb1357362d7b1364a2a046ada5f65900 /test/csit/scripts/multicloud-pike/generic_sim/Dockerfile
parent0dd554bbe4cde92dff217fd4220007cd4b32ff04 (diff)
parent9eb2fab011a99f8a56d3a213f4e7184d74685626 (diff)
Merge "Add multi-cloud pike csit scripts"
Diffstat (limited to 'test/csit/scripts/multicloud-pike/generic_sim/Dockerfile')
-rw-r--r--test/csit/scripts/multicloud-pike/generic_sim/Dockerfile12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/csit/scripts/multicloud-pike/generic_sim/Dockerfile b/test/csit/scripts/multicloud-pike/generic_sim/Dockerfile
new file mode 100644
index 000000000..688b58afe
--- /dev/null
+++ b/test/csit/scripts/multicloud-pike/generic_sim/Dockerfile
@@ -0,0 +1,12 @@
+FROM python:2.7
+
+EXPOSE 8080
+
+RUN mkdir -p /{tmp,etc}/generic_sim
+
+WORKDIR /opt/generic_sim/
+
+COPY . .
+RUN pip install --no-cache-dir -r requirements.txt
+
+CMD [ "python", "generic_sim.py" ]