Skip to content

Instantly share code, notes, and snippets.

@thomo
Last active September 26, 2015 09:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomo/2a19adcffc5e793b1559 to your computer and use it in GitHub Desktop.
Save thomo/2a19adcffc5e793b1559 to your computer and use it in GitHub Desktop.
Ansible docker image based on CentOS7
FROM centos:7
MAINTAINER Thomas Mohaupt "Thomas.Mohaupt@gmail.com"
ENV UPDATED_AT=2015-09-26
RUN echo "deltarpm=0" >> /etc/yum.conf
RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
RUN yum -y install epel-release
RUN yum -y install \
ansible \
openssh-clients \
sshpass
WORKDIR /data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment