Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/.docker/standalone.bake.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ RUN apt-get -y update && \
ACCEPT_EULA=Y apt-get -yq install \
postgresql postgresql-client redis-server rabbitmq-server \
nginx sudo gdb nginx-extras supervisor jq util-linux \
netcat-openbsd xxd openssl && \
netcat-openbsd xxd openssl tini && \
rm -rf /var/lib/apt/lists/*

# Create the 'ds' user that is required by OnlyOffice scripts
Expand Down
7 changes: 6 additions & 1 deletion build/scripts/standalone/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -448,4 +448,9 @@ fi
# --------------------------------------------------------------------
[ -n "$JWT_MESSAGE" ] && echo "$JWT_MESSAGE"

exec /usr/bin/supervisord
# Hand off to supervisord under tini. tini becomes PID 1 and acts as the init
# zombie-reaper: it silently reaps orphaned children of the bundled daemons
# (postgres, redis, nginx, rabbitmq) and of the node services. Without it,
# supervisord would run as PID 1 and log every reaped orphan as a noisy
# "reaped unknown pid" INFO message.
exec /usr/bin/tini -- /usr/bin/supervisord
Loading