mirror of
https://github.com/roles-ansible/ansible_role_i3wm.git
synced 2024-08-16 10:09:53 +02:00
13 lines
395 B
Text
13 lines
395 B
Text
|
FROM ubuntu:trusty
|
||
|
|
||
|
RUN apt-get update && apt-get dist-upgrade -y && apt-get install -y software-properties-common && rm -rf /var/lib/apt/lists/*
|
||
|
|
||
|
RUN apt-add-repository -y ppa:ansible/ansible && apt-get update && apt-get install -y \
|
||
|
git \
|
||
|
ansible \
|
||
|
&& rm -rf /var/lib/apt/lists/*
|
||
|
|
||
|
RUN echo "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts
|
||
|
|
||
|
ENTRYPOINT ["/sbin/init"]
|