mirror of
https://github.com/stablyai/orca.git
synced 2026-10-05 16:02:22 +00:00
* fix(linux): release orphaned processes when their owner exits * fix(linux): handle inhibitor errors until streams close --------- Co-authored-by: m4air <m4air@m4airs-MacBook-Air.local>
16 lines
459 B
Docker
16 lines
459 B
Docker
FROM node:22-bookworm-slim
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
ENV container=docker
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends \
|
|
systemd systemd-sysv libpam-systemd dbus dbus-user-session procps util-linux \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& useradd --uid 1100 --create-home --shell /bin/sh orca-repro
|
|
|
|
COPY process-fixture.cjs run-cases.cjs /opt/daemon-scope-lifetime/
|
|
|
|
STOPSIGNAL SIGRTMIN+3
|
|
CMD ["/lib/systemd/systemd"]
|