aboutsummaryrefslogtreecommitdiffhomepage
path: root/centos7/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 /centos7/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 'centos7/Dockerfile')
-rw-r--r--centos7/Dockerfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/centos7/Dockerfile b/centos7/Dockerfile
index b2cf91f..cc2f1ef 100644
--- a/centos7/Dockerfile
+++ b/centos7/Dockerfile
@@ -50,6 +50,10 @@ RUN echo "===> Enabling systemd..." && \
50 sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers || true && \ 50 sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers || true && \
51 \ 51 \
52 \ 52 \
53 echo "===> Installing handy tools (not absolutely required)..." && \
54 yum -y install sshpass openssh-clients && \
55 \
56 \
53 echo "===> Removing unused YUM resources..." && \ 57 echo "===> Removing unused YUM resources..." && \
54 yum -y remove epel-release && \ 58 yum -y remove epel-release && \
55 yum clean all && \ 59 yum clean all && \