diff options
Diffstat (limited to 'centos6-onbuild')
-rw-r--r-- | centos6-onbuild/Dockerfile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/centos6-onbuild/Dockerfile b/centos6-onbuild/Dockerfile index 56855ef..a520a0f 100644 --- a/centos6-onbuild/Dockerfile +++ b/centos6-onbuild/Dockerfile | |||
@@ -26,12 +26,13 @@ RUN echo "===> Installing EPEL..." && \ | |||
26 | \ | 26 | \ |
27 | \ | 27 | \ |
28 | echo "===> Adding Ansible's prerequisites..." && \ | 28 | echo "===> Adding Ansible's prerequisites..." && \ |
29 | yum -y install gcc python-devel python-pip && \ | 29 | yum -y install gcc python-devel python-pip \ |
30 | libffi-devel openssl-devel && \ | ||
30 | pip install --upgrade pip && \ | 31 | pip install --upgrade pip && \ |
31 | \ | 32 | \ |
32 | \ | 33 | \ |
33 | echo "===> Installing Ansible..." && \ | 34 | echo "===> Installing Ansible..." && \ |
34 | pip install ansible && \ | 35 | pip install --upgrade ansible && \ |
35 | \ | 36 | \ |
36 | \ | 37 | \ |
37 | echo "===> Disabling sudo 'requiretty' setting..." && \ | 38 | echo "===> Disabling sudo 'requiretty' setting..." && \ |
@@ -39,7 +40,8 @@ RUN echo "===> Installing EPEL..." && \ | |||
39 | \ | 40 | \ |
40 | \ | 41 | \ |
41 | echo "===> Removing unused YUM resources..." && \ | 42 | echo "===> Removing unused YUM resources..." && \ |
42 | yum -y remove epel-release gcc python-devel python-pip && \ | 43 | yum -y remove epel-release gcc python-devel python-pip \ |
44 | libffi-devel openssl-devel || true && \ | ||
43 | yum clean all && \ | 45 | yum clean all && \ |
44 | \ | 46 | \ |
45 | \ | 47 | \ |