aboutsummaryrefslogtreecommitdiffhomepage
path: root/master-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 /master-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 'master-centos7/Dockerfile')
-rw-r--r--master-centos7/Dockerfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/master-centos7/Dockerfile b/master-centos7/Dockerfile
index 75711d8..eb120a5 100644
--- a/master-centos7/Dockerfile
+++ b/master-centos7/Dockerfile
@@ -74,6 +74,10 @@ RUN echo "===> Enabling systemd..." && \
74 sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers && \ 74 sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers && \
75 \ 75 \
76 \ 76 \
77 echo "===> Installing handy tools (not absolutely required)..." && \
78 yum -y install sshpass openssh-clients && \
79 \
80 \
77 echo "===> Removing unused YUM resources..." && \ 81 echo "===> Removing unused YUM resources..." && \
78 yum -y remove epel-release gcc git python-devel python-pip \ 82 yum -y remove epel-release gcc git python-devel python-pip \
79 libffi-devel openssl-devel || true && \ 83 libffi-devel openssl-devel || true && \