feat: add debian10 for ansible
This commit is contained in:
parent
978995c778
commit
b2885927fb
1 changed files with 23 additions and 0 deletions
23
ansible/debian10
Normal file
23
ansible/debian10
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
FROM debian:buster
|
||||||
|
MAINTAINER Adrien Waksberg "docker@yae.im"
|
||||||
|
|
||||||
|
ARG ANSIBLE_VERSION=2.8.4
|
||||||
|
|
||||||
|
RUN apt update && \
|
||||||
|
apt dist-upgrade -y && \
|
||||||
|
apt install -y dbus systemd curl vim sudo apt-utils lsb-release && \
|
||||||
|
apt-get clean autoclean
|
||||||
|
|
||||||
|
RUN systemctl mask -- \
|
||||||
|
sys-fs-fuse-connections.mount \
|
||||||
|
dev-hugepages.mount \
|
||||||
|
systemd-tmpfiles-setup.service \
|
||||||
|
cgmanager.service
|
||||||
|
|
||||||
|
RUN curl https://www.getchef.com/chef/install.sh | bash && \
|
||||||
|
apt-get clean autoclean
|
||||||
|
RUN curl https://raw.githubusercontent.com/neillturner/omnibus-ansible/master/ansible_install.sh | bash -s -v ${ANSIBLE_VERSION} && \
|
||||||
|
apt-get clean autoclean
|
||||||
|
|
||||||
|
VOLUME ["/sys/fs/cgroup", "/run", "/run/lock"]
|
||||||
|
CMD ["/lib/systemd/systemd"]
|
Loading…
Add table
Add a link
Reference in a new issue