fix CVEs and add init to Debian test image

This commit is contained in:
bunkerity
2021-10-05 15:01:43 +02:00
parent a6b21aae8c
commit bc5f3ee88e
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
FROM debian:bullseye-slim
RUN apt update && apt install -y systemd
RUN apt update && apt install -y systemd init
RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == systemd-tmpfiles-setup.service ] || rm -f $i; done); \
rm -f /lib/systemd/system/multi-user.target.wants/*;\