aboutsummaryrefslogtreecommitdiffhomepage
path: root/centos6/Dockerfile
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 /centos6/Dockerfile
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 'centos6/Dockerfile')
-rw-r--r--centos6/Dockerfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/centos6/Dockerfile b/centos6/Dockerfile
index ddf01f8..6ebaad9 100644
--- a/centos6/Dockerfile
+++ b/centos6/Dockerfile
@@ -35,6 +35,10 @@ RUN echo "===> Installing EPEL..." && \
35 sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers || true && \ 35 sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers || true && \
36 \ 36 \
37 \ 37 \
38 echo "===> Installing handy tools (not absolutely required)..." && \
39 yum -y install sshpass openssh-clients && \
40 \
41 \
38 echo "===> Removing unused YUM resources..." && \ 42 echo "===> Removing unused YUM resources..." && \
39 yum -y remove epel-release && \ 43 yum -y remove epel-release && \
40 yum clean all && \ 44 yum clean all && \