add dockerfile of dovetail tool 41/21341/3
authorLeo Wang <grakiss.wanglei@huawei.com>
Wed, 14 Sep 2016 08:11:07 +0000 (04:11 -0400)
committerLeo Wang <grakiss.wanglei@huawei.com>
Tue, 20 Sep 2016 02:37:03 +0000 (22:37 -0400)
JIRA:DOVETAIL-13
  - add dockerfile

Change-Id: I82d74013fef9b9203b531a1ba944e014d77a25cd
Signed-off-by: Leo Wang <grakiss.wanglei@huawei.com>
docker/Dockerfile [new file with mode: 0644]

diff --git a/docker/Dockerfile b/docker/Dockerfile
new file mode 100644 (file)
index 0000000..8e744e3
--- /dev/null
@@ -0,0 +1,22 @@
+FROM ubuntu:14.04
+MAINTAINER Leo Wang <grakiss.wanglei@huawei.com>
+LABEL version="0.1" description="OPNFV Dovetail Docker Container"
+
+RUN apt-get update && apt-get install -y \
+docker.io \
+python-pip \
+git \
+--no-install-recommends
+
+RUN pip install pyyaml
+RUN pip install click
+
+ENV HOME /home/opnfv
+WORKDIR /home/opnfv
+ENV REPOS_DIR /home/opnfv/dovetail
+
+RUN git config --global http.sslVerify false
+RUN git clone https://gerrit.opnfv.org/gerrit/dovetail.git ${REPOS_DIR}
+
+RUN mkdir -p ${REPOS_DIR}/results
+