Use dumb-init for sunshine-run wrapper

This commit is contained in:
Josh.5
2023-08-23 16:57:40 +12:00
parent 1454b704a2
commit aea4d51159
2 changed files with 10 additions and 1 deletions

View File

@@ -482,6 +482,15 @@ RUN \
&& \
echo
# Various other tools
ARG DUMB_INIT_VERSION=1.2.5
RUN \
echo "**** Install dumb-init ****" \
&& wget -O /usr/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_x86_64 \
&& chmod +x /usr/bin/dumb-init \
&& \
echo
# Add FS overlay
COPY overlay /

View File

@@ -24,7 +24,7 @@ trap _term EXIT
# RUN CHILD PROCESS
"${@}" &
/usr/bin/dumb-init "${@}" &
proc_pid=$!