diff options
author | Tomofumi Hayashi <tohayash@redhat.com> | 2016-12-08 00:19:46 +0900 |
---|---|---|
committer | Tomofumi Hayashi <tohayash@redhat.com> | 2016-12-09 01:36:13 +0900 |
commit | 046c4406619fd3c66a892993e9d0ac0dea6d32d8 (patch) | |
tree | e5b44011028cbb5e3f43511c6d202b07e1bade3a /docker/Dockerfile.centos7 | |
parent | 3530fae4e072a5102d448304e88473fcd45d5d36 (diff) |
Add more document and fix dockerfile for CentOS
Add how to build container from dockerfile and add missing config
for CentOS dockerfile. This fix is verified that functest/yeardstick
are called successfully under debug/proposed_tests testsuite.
Change-Id: Icb31331ecd78b8fccd69ac960c24340b605e54bf
Signed-off-by: Tomofumi Hayashi <tohayash@redhat.com>
Diffstat (limited to 'docker/Dockerfile.centos7')
-rw-r--r-- | docker/Dockerfile.centos7 | 3 |
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 |