Merge pull request #7104 from nextcloud/fix/whiteboard-recording-chrome-imprv
Some checks are pending
Codespell / Check spelling (push) Waiting to run
Docker Lint / docker-lint (push) Waiting to run

fix whiteboard recording chrome #2
This commit is contained in:
Simon L. 2025-11-11 12:42:44 +01:00 committed by GitHub
commit 0e4a633c24
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,10 +10,7 @@ RUN set -ex; \
if [ -f /usr/lib/chromium/chrome_crashpad_handler ]; then \
rm -f /usr/lib/chromium/chrome_crashpad_handler.real; \
mv /usr/lib/chromium/chrome_crashpad_handler /usr/lib/chromium/chrome_crashpad_handler.real; \
cat <<'EOF' >/usr/lib/chromium/chrome_crashpad_handler; \
#!/bin/sh
exec /usr/lib/chromium/chrome_crashpad_handler.real --no-periodic-tasks --database="${CRASHPAD_DATABASE:-/tmp/chrome-crashpad}" "$@"
EOF
printf '%s\n' '#!/bin/sh' "exec /usr/lib/chromium/chrome_crashpad_handler.real --no-periodic-tasks --database=\"\${CRASHPAD_DATABASE:-/tmp/chrome-crashpad}\" \"\$@\"" >/usr/lib/chromium/chrome_crashpad_handler; \
chmod +x /usr/lib/chromium/chrome_crashpad_handler; \
fi
USER 65534