diff options
Diffstat (limited to '1.9-centos6/Dockerfile')
-rw-r--r-- | 1.9-centos6/Dockerfile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/1.9-centos6/Dockerfile b/1.9-centos6/Dockerfile index dc450d6..f56f76f 100644 --- a/1.9-centos6/Dockerfile +++ b/1.9-centos6/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==1.9.4 && \ | 35 | pip install --upgrade ansible==1.9.4 && \ |
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 | \ |