Transitions the Docker image to use s6 and s6-overlay for process supervision instead of supervisord (#8886)

This commit is contained in:
Trenton H 2025-02-07 11:25:54 -08:00 committed by GitHub
parent 71472a6a82
commit 880f08599a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
127 changed files with 843 additions and 367 deletions

View file

@ -1,5 +1,7 @@
#!/usr/bin/env bash
# Run this script to generate the management commands again (for example if a new command is create or the template is updated)
set -eu
for command in decrypt_documents \
@ -19,6 +21,6 @@ for command in decrypt_documents \
prune_audit_logs;
do
echo "installing $command..."
sed "s/management_command/$command/g" management_script.sh > /usr/local/bin/$command
chmod +x /usr/local/bin/$command
sed "s/management_command/$command/g" management_script.sh >"$PWD/rootfs/usr/local/bin/$command"
chmod +x "$PWD/rootfs/usr/local/bin/$command"
done