dockerfiles/molecule/debian11

20 lines
514 B
Text
Raw Normal View History

2021-08-15 10:29:07 +00:00
FROM debian:bullseye
MAINTAINER Adrien Waksberg "docker@yae.im"
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"]