mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
fix whiteboard recording chrome
Signed-off-by: Hoang Pham <hoangmaths96@gmail.com>
This commit is contained in:
parent
bf1df2f72e
commit
d82e533a4b
1 changed files with 10 additions and 1 deletions
|
|
@ -6,7 +6,16 @@ USER root
|
|||
RUN set -ex; \
|
||||
apk upgrade --no-cache -a; \
|
||||
apk add --no-cache bash; \
|
||||
chmod 777 -R /tmp
|
||||
chmod 777 -R /tmp; \
|
||||
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
|
||||
chmod +x /usr/lib/chromium/chrome_crashpad_handler; \
|
||||
fi
|
||||
USER 65534
|
||||
|
||||
COPY --chmod=775 start.sh /start.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue