mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-06-03 01:10:08 +00:00
Merge pull request #7128 from nextcloud/fix/whiteboard-recording-chrome-3
fix whiteboard recording chrome #3
This commit is contained in:
@@ -4,11 +4,9 @@ FROM ghcr.io/nextcloud-releases/whiteboard:v1.4.1
|
|||||||
|
|
||||||
USER root
|
USER root
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
apk upgrade --no-cache -a; \
|
|
||||||
apk add --no-cache bash; \
|
apk add --no-cache bash; \
|
||||||
chmod 777 -R /tmp; \
|
chmod 777 -R /tmp; \
|
||||||
if [ -f /usr/lib/chromium/chrome_crashpad_handler ]; then \
|
if [ -f /usr/lib/chromium/chrome_crashpad_handler ] && [ ! -f /usr/lib/chromium/chrome_crashpad_handler.real ]; then \
|
||||||
rm -f /usr/lib/chromium/chrome_crashpad_handler.real; \
|
|
||||||
mv /usr/lib/chromium/chrome_crashpad_handler /usr/lib/chromium/chrome_crashpad_handler.real; \
|
mv /usr/lib/chromium/chrome_crashpad_handler /usr/lib/chromium/chrome_crashpad_handler.real; \
|
||||||
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; \
|
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; \
|
chmod +x /usr/lib/chromium/chrome_crashpad_handler; \
|
||||||
|
|||||||
Reference in New Issue
Block a user