mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-21 01:21:50 +08:00
14 lines
476 B
Docker
14 lines
476 B
Docker
FROM node:24-bookworm-slim
|
|
|
|
RUN apt-get update \
|
|
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends systemd \
|
|
&& groupadd --gid 10001 ql3service \
|
|
&& useradd --uid 10001 --gid 10001 --no-create-home --shell /usr/sbin/nologin ql3service \
|
|
&& apt-get clean \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& systemctl mask systemd-remount-fs.service getty@.service console-getty.service
|
|
|
|
STOPSIGNAL SIGRTMIN+3
|
|
ENTRYPOINT ["/lib/systemd/systemd"]
|
|
CMD []
|