mirror of
https://github.com/roles-ansible/ansible_role_dotfiles.git
synced 2024-08-16 16:09:49 +02:00
18 lines
445 B
Text
18 lines
445 B
Text
|
FROM debian:jessie
|
||
|
|
||
|
RUN apt-get update -y && apt-get install -y --no-install-recommends \
|
||
|
software-properties-common \
|
||
|
build-essential \
|
||
|
libffi-dev \
|
||
|
libssl-dev \
|
||
|
python-dev \
|
||
|
python-pip \
|
||
|
git \
|
||
|
&& rm -rf /var/lib/apt/lists/*
|
||
|
|
||
|
RUN pip install --upgrade setuptools && pip install ansible
|
||
|
|
||
|
RUN mkdir -p /etc/ansible && echo "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts
|
||
|
|
||
|
ENTRYPOINT ["/sbin/init"]
|