From b1f3718d07a6a68116eb98bcb2156af7b39c2259 Mon Sep 17 00:00:00 2001 From: William Yeh Date: Tue, 14 Jun 2016 15:59:32 +0800 Subject: 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 --- centos7/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'centos7') 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..." && \ sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers || true && \ \ \ + echo "===> Installing handy tools (not absolutely required)..." && \ + yum -y install sshpass openssh-clients && \ + \ + \ echo "===> Removing unused YUM resources..." && \ yum -y remove epel-release && \ yum clean all && \ -- cgit v1.2.3