summaryrefslogtreecommitdiffstats
path: root/test/csit/scripts/multicloud-pike/generic_sim/Dockerfile
diff options
context:
space:
mode:
authorHuang Haibin <haibin.huang@intel.com>2018-08-19 13:46:30 +0800
committerHuang Haibin <haibin.huang@intel.com>2018-08-20 21:39:57 +0800
commit9eb2fab011a99f8a56d3a213f4e7184d74685626 (patch)
tree54b5e4118675e9d3b966b0361786e49add13597c /test/csit/scripts/multicloud-pike/generic_sim/Dockerfile
parent72c45859f7ed8523635125fe7289498f7962e27d (diff)
Add multi-cloud pike csit scripts
Change-Id: I1e1ba5271313453531019e5255dbe94923680abb Issue-ID: MULTICLOUD-276 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
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" ]