aboutsummaryrefslogtreecommitdiffhomepage
path: root/master-centos6/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'master-centos6/Dockerfile')
-rw-r--r--master-centos6/Dockerfile9
1 files changed, 5 insertions, 4 deletions
diff --git a/master-centos6/Dockerfile b/master-centos6/Dockerfile
index d90a08b..8469d65 100644
--- a/master-centos6/Dockerfile
+++ b/master-centos6/Dockerfile
@@ -30,6 +30,7 @@ RUN echo "===> Installing EPEL..." && \
30 yum -y install \ 30 yum -y install \
31 gcc make \ 31 gcc make \
32 python python-devel python-pip \ 32 python python-devel python-pip \
33 libffi-devel openssl-devel \
33 libxml2 libxml2-devel libxslt libxslt-devel \ 34 libxml2 libxml2-devel libxslt libxslt-devel \
34 git sudo curl && \ 35 git sudo curl && \
35 pip install --upgrade pip && \ 36 pip install --upgrade pip && \
@@ -58,10 +59,10 @@ RUN echo "===> Installing EPEL..." && \
58 sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers && \ 59 sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers && \
59 \ 60 \
60 \ 61 \
61 echo "===> Removing unused YUM resources..." && \ 62 echo "===> Removing unused YUM resources..." && \
62 yum -y remove \ 63 yum -y remove epel-release gcc git python-devel python-pip \
63 epel-release python-devel python-pip gcc git && \ 64 libffi-devel openssl-devel || true && \
64 yum clean all && \ 65 yum clean all && \
65 \ 66 \
66 \ 67 \
67 echo "===> Adding hosts for convenience..." && \ 68 echo "===> Adding hosts for convenience..." && \