aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorNauman_Ahad <Nauman_Ahad@dell.com>2015-12-22 03:41:44 +0500
committerNauman_Ahad <Nauman_Ahad@dell.com>2015-12-22 12:53:08 +0500
commit4b3e9b6cf97296dd591dc2cf95ead96ee60075f5 (patch)
tree6eedea46969b67d2856bac0c69af731c11d1a34d /docker
parent946ba8f831b903c5ab9d2cdfd38a0c155d93d707 (diff)
Dockerfile for QTIP docker container
Dockerfile for creating QTIP docker image Installs needed dependencies to run QTIP JIRA: QTIP-48 Change-Id: I29083856d9a22d35eb983249059a176dc29f34e7 Signed-off-by: Nauman_Ahad <Nauman_Ahad@dell.com>
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile50
1 files changed, 50 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
new file mode 100644
index 00000000..b0d512f8
--- /dev/null
+++ b/docker/Dockerfile
@@ -0,0 +1,50 @@
+##########################################
+#####Docker container for QTIP############
+##########################################
+
+
+FROM ubuntu:14.04
+MAINTAINER Nauman Ahad <Nauman_Ahad@dell.com>
+LABEL version="0.1" description="OPNFV QTIP Docker container"
+
+
+
+
+ENV repos_dir /home/opnfv/repos
+WORKDIR /home/opnfv
+
+
+#Packaged Dependencies
+
+
+RUN apt-get update && apt-get install -y \
+software-properties-common \
+wget \
+git \
+gcc \
+ssh \
+expect \
+python-dev \
+python-pip \
+--no-install-recommends
+
+RUN apt-add-repository ppa:ansible/ansible -y
+RUN apt-key update -y
+RUN apt-get update -y
+RUN apt-get install ansible --force-yes -y
+
+
+
+RUN mkdir -p ${repos_dir}
+RUN mkdir -p /root/.ssh
+RUN chmod 700 /root/.ssh
+
+#Cloning Repos
+
+RUN git config --global http.sslVerify false
+RUN git clone https://gerrit.opnfv.org/gerrit/qtip $repos_dir/qtip
+RUN git clone https://gerrit.opnfv.org/gerrit/releng $repos_dir/releng
+
+RUN pip install -r $repos_dir/qtip/docker/packages.pip
+
+