mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 09:45:36 +08:00
feat(ql3): establish 3.0 incubation baseline
This commit is contained in:
1 parent
4bf92dcfeb
commit
c699c32461
2817 files changed
+779642
-653
No files matched your search
@@ -0,0 +1,8 @@
|
||||
FROM node:24-alpine
|
||||
|
||||
RUN apk add --no-cache openrc \
|
||||
&& addgroup -g 10001 -S ql3service \
|
||||
&& adduser -u 10001 -S -D -H -G ql3service -s /sbin/nologin ql3service \
|
||||
&& mkdir -p /run/openrc
|
||||
|
||||
ENTRYPOINT ["node", "-e", "const fs=require('node:fs');fs.mkdirSync('/run/openrc',{recursive:true});fs.writeFileSync('/run/openrc/softlevel','default\\n');setInterval(()=>{},2147483647)"]
|
||||
@@ -0,0 +1,13 @@
|
||||
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 []
|
||||
Reference in new issue
Block a user