summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorhongbo tian <hongbo.tianhongbo@huawei.com>2016-12-13 01:54:06 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-12-13 01:54:06 +0000
commit888658027b97c0df51af8bea749a1e8444536cdb (patch)
treed302136867307a160821f4d2688fab9dc6e54474 /docker
parent098f6a3ccd606adb3f266e9324ef67368fe420d1 (diff)
parent046c4406619fd3c66a892993e9d0ac0dea6d32d8 (diff)
Merge "Add more document and fix dockerfile for CentOS"
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile.centos73
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/Dockerfile.centos7 b/docker/Dockerfile.centos7
index 965c535b..0107cb7b 100644
--- a/docker/Dockerfile.centos7
+++ b/docker/Dockerfile.centos7
@@ -5,7 +5,8 @@ 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 && \
+ yum install -y python-pip git docker && \
+ sed -ie 's/requiretty/!requiretty/g' /etc/sudoers && \
pip install pyyaml click jinja2
ENV HOME /home/opnfv