diff options
Diffstat (limited to '1.9-centos7')
-rw-r--r-- | 1.9-centos7/Dockerfile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/1.9-centos7/Dockerfile b/1.9-centos7/Dockerfile index 8d6da85..9ae523a 100644 --- a/1.9-centos7/Dockerfile +++ b/1.9-centos7/Dockerfile | |||
@@ -41,12 +41,13 @@ RUN echo "===> Enabling systemd..." && \ | |||
41 | \ | 41 | \ |
42 | \ | 42 | \ |
43 | echo "===> Adding Ansible's prerequisites..." && \ | 43 | echo "===> Adding Ansible's prerequisites..." && \ |
44 | yum -y install gcc python-devel python-pip && \ | 44 | yum -y install gcc python-devel python-pip \ |
45 | libffi-devel openssl-devel && \ | ||
45 | pip install --upgrade pip && \ | 46 | pip install --upgrade pip && \ |
46 | \ | 47 | \ |
47 | \ | 48 | \ |
48 | echo "===> Installing Ansible..." && \ | 49 | echo "===> Installing Ansible..." && \ |
49 | pip install ansible==1.9.4 && \ | 50 | pip install --upgrade ansible==1.9.4 && \ |
50 | \ | 51 | \ |
51 | \ | 52 | \ |
52 | echo "===> Disabling sudo 'requiretty' setting..." && \ | 53 | echo "===> Disabling sudo 'requiretty' setting..." && \ |
@@ -54,7 +55,8 @@ RUN echo "===> Enabling systemd..." && \ | |||
54 | \ | 55 | \ |
55 | \ | 56 | \ |
56 | echo "===> Removing unused YUM resources..." && \ | 57 | echo "===> Removing unused YUM resources..." && \ |
57 | yum -y remove epel-release gcc python-devel python-pip && \ | 58 | yum -y remove epel-release gcc python-devel python-pip \ |
59 | libffi-devel openssl-devel || true && \ | ||
58 | yum clean all && \ | 60 | yum clean all && \ |
59 | \ | 61 | \ |
60 | \ | 62 | \ |