mirror of
https://github.com/GeekOops/geekoops-nginx.git
synced 2024-05-20 05:32:22 +00:00
10 lines
403 B
Docker
10 lines
403 B
Docker
FROM docker.io/debian:bullseye
|
|
|
|
# Install systemd, and development tools, clear cache and clean system
|
|
RUN apt-get update && apt-get install -y systemd systemd-sysv python3 curl && rm -rf /var/cache/* && systemctl mask -- dev-hugepages.mount sys-fs-fuse-connections.mount && rm -f /etc/machine-id /var/lib/dbus/machine-id
|
|
|
|
STOPSIGNAL SIGRTMIN+3
|
|
|
|
# Start container with systemd
|
|
ENTRYPOINT ["/sbin/init"]
|