|
@@ -31,8 +31,11 @@ RUN apt-get update \
|
|
|
|
|
|
USER browser
|
|
USER browser
|
|
VOLUME /home/browser
|
|
VOLUME /home/browser
|
|
-#CMD ["brave-browser"] podman
|
|
|
|
-CMD ["brave-browser", "--no-sandbox"]
|
|
|
|
|
|
+# --disable-dev-shm-usage to fix some "Aw, Snap!" errors and video playback,
|
|
|
|
+# apparently by resolving:
|
|
|
|
+# > ERROR:broker_posix.cc(46)] Received unexpected number of handles
|
|
|
|
+# https://github.com/WPO-Foundation/wptagent/issues/327#issuecomment-614086842
|
|
|
|
+CMD ["brave-browser", "--no-sandbox", "--disable-dev-shm-usage"]
|
|
|
|
|
|
# https://github.com/opencontainers/image-spec/blob/v1.0.1/annotations.md
|
|
# https://github.com/opencontainers/image-spec/blob/v1.0.1/annotations.md
|
|
ARG REVISION=
|
|
ARG REVISION=
|