ansible/debian-8/Dockerfile

27 lines
780 B
Docker
Raw Normal View History

2016-08-06 13:28:41 +00:00
FROM debian:8
2016-08-06 14:17:26 +00:00
RUN apt-get -q update \
&& apt-get -yq install --no-install-recommends \
2016-08-06 14:12:11 +00:00
build-essential \
libffi-dev \
libssl-dev \
2020-10-31 16:24:36 +00:00
python3 \
python3-dev \
python3-pip \
git \
2018-01-29 21:40:35 +00:00
apt-utils \
2020-10-31 15:47:55 +00:00
curl \
2020-10-31 17:57:30 +00:00
gnupg \
dirmngr \
2020-10-31 15:47:55 +00:00
&& curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o /usr/local/bin/goss \
&& chmod +rx /usr/local/bin/goss \
2020-10-31 17:57:30 +00:00
&& pip3 install --upgrade pip
2016-08-06 13:28:41 +00:00
2020-10-31 17:57:30 +00:00
RUN echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main" >> /etc/apt/sources \
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367 \
&& apt-get -q update \
&& apt-get install -yq ansible \
&& apt-get clean
2016-08-06 13:28:41 +00:00
CMD ["ansible-playbook", "--help"]