diff options
author | William Yeh <william.pjyeh@gmail.com> | 2016-06-14 15:59:32 +0800 |
---|---|---|
committer | William Yeh <william.pjyeh@gmail.com> | 2016-06-14 15:59:32 +0800 |
commit | b1f3718d07a6a68116eb98bcb2156af7b39c2259 (patch) | |
tree | 66d2b0faf0f33d7ac0257c786df9f445fbeff024 /1.9-centos7/Dockerfile | |
parent | d707bce5e4201a69438ba58c6500346999fa68df (diff) | |
download | docker-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 '1.9-centos7/Dockerfile')
-rw-r--r-- | 1.9-centos7/Dockerfile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/1.9-centos7/Dockerfile b/1.9-centos7/Dockerfile index 627f20d..ab63d07 100644 --- a/1.9-centos7/Dockerfile +++ b/1.9-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 && \ |