feat: add molecule

This commit is contained in:
Adrien Waksberg 2020-03-27 21:59:09 +01:00
parent 671e22f266
commit 40915f4e6a

21
molecule/debian10 Normal file
View file

@ -0,0 +1,21 @@
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 apt -y install procps python3-minimal && \
apt-get clean autoclean
VOLUME ["/sys/fs/cgroup", "/run", "/run/lock"]
CMD ["/lib/systemd/systemd"]