aboutsummaryrefslogtreecommitdiffhomepage
path: root/master-centos6
diff options
context:
space:
mode:
authorWilliam Yeh <william.pjyeh@gmail.com>2016-06-14 15:59:32 +0800
committerWilliam Yeh <william.pjyeh@gmail.com>2016-06-14 15:59:32 +0800
commitb1f3718d07a6a68116eb98bcb2156af7b39c2259 (patch)
tree66d2b0faf0f33d7ac0257c786df9f445fbeff024 /master-centos6
parentd707bce5e4201a69438ba58c6500346999fa68df (diff)
downloaddocker-ansible-b1f3718d07a6a68116eb98bcb2156af7b39c2259.tar.gz
docker-ansible-b1f3718d07a6a68116eb98bcb2156af7b39c2259.tar.zst
docker-ansible-b1f3718d07a6a68116eb98bcb2156af7b39c2259.zip
Add: `git` for onbuild variants; handy tools for others.
@see https://github.com/William-Yeh/docker-ansible/issues/18 @see https://github.com/William-Yeh/docker-ansible/issues/20
Diffstat (limited to 'master-centos6')
-rw-r--r--master-centos6/Dockerfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/master-centos6/Dockerfile b/master-centos6/Dockerfile
index 8469d65..b647a4c 100644
--- a/master-centos6/Dockerfile
+++ b/master-centos6/Dockerfile
@@ -59,6 +59,10 @@ RUN echo "===> Installing EPEL..." && \
59 sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers && \ 59 sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers && \
60 \ 60 \
61 \ 61 \
62 echo "===> Installing handy tools (not absolutely required)..." && \
63 yum -y install sshpass openssh-clients && \
64 \
65 \
62 echo "===> Removing unused YUM resources..." && \ 66 echo "===> Removing unused YUM resources..." && \
63 yum -y remove epel-release gcc git python-devel python-pip \ 67 yum -y remove epel-release gcc git python-devel python-pip \
64 libffi-devel openssl-devel || true && \ 68 libffi-devel openssl-devel || true && \