lpicanco
1/22/2016 - 12:57 PM

jenkins-devops

jenkins-devops

FROM simonqbs/jenkins-dind

MAINTAINER Luiz Picanço "lpicanco@gmail.com"

ENV PACKER_VERSION 0.8.6

RUN apt-get update && apt-get install -y \
	python-pip python-dev curl sshpass && \
	pip install ansible==2.0 && \
	pip install docker-py==1.4.0 && \
	wget -q -O /packer.zip "https://releases.hashicorp.com/packer/${PACKER_VERSION}/packer_${PACKER_VERSION}_linux_amd64.zip" && \
    unzip /packer.zip -d /bin && \
	apt-get -f -y --auto-remove remove gcc python-pip python-dev  && \
	apt-get clean && \
    rm -rf /var/lib/apt/lists/*  /tmp/* && \
    rm /packer.zip && \
    mkdir -p /etc/ansible &&\
    echo '[local]\nlocalhost\n' > /etc/ansible/hosts

VOLUME ["/etc/ansible"]%