summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile.centos7
diff options
context:
space:
mode:
Diffstat (limited to 'docker/Dockerfile.centos7')
-rw-r--r--docker/Dockerfile.centos720
1 files changed, 20 insertions, 0 deletions
diff --git a/docker/Dockerfile.centos7 b/docker/Dockerfile.centos7
new file mode 100644
index 00000000..0107cb7b
--- /dev/null
+++ b/docker/Dockerfile.centos7
@@ -0,0 +1,20 @@
+FROM centos:centos7
+MAINTAINER Tomofumi Hayashi <tohayash@redhat.com>
+LABEL version="0.1" description="OPNFV Dovetail Docker Container"
+
+ARG BRANCH=master
+
+RUN yum update -y && yum install -y sudo iproute epel-release && \
+ yum install -y python-pip git docker && \
+ sed -ie 's/requiretty/!requiretty/g' /etc/sudoers && \
+ pip install pyyaml click jinja2
+
+ENV HOME /home/opnfv
+ENV REPOS_DIR ${HOME}/dovetail
+WORKDIR /home/opnfv
+
+RUN git config --global http.sslVerify false && \
+ git clone --depth 1 -b $BRANCH https://gerrit.opnfv.org/gerrit/dovetail.git ${REPOS_DIR} && \
+ mkdir -p ${REPOS_DIR}/results
+
+WORKDIR ${REPOS_DIR}/dovetail