17 lines
525 B
Text
17 lines
525 B
Text
FROM centos:7
|
|
MAINTAINER Adrien Waksberg "docker@yae.im"
|
|
|
|
ARG ANSIBLE_VERSION=2.5.14.0
|
|
|
|
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
|
|
RUN curl https://raw.githubusercontent.com/neillturner/omnibus-ansible/master/ansible_install.sh | bash -s -v ${ANSIBLE_VERSION}
|
|
RUN yum install -y iproute
|
|
|
|
VOLUME ["/sys/fs/cgroup", "/run", "/run/lock"]
|
|
CMD ["/usr/sbin/init"]
|