-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get grover & puppeteer working in base image
Puppeteer uses a headless chromium which has some dependencies we can be provided by installing chrome, so do that. The default seccomp policy prevents chrome sandbox for working. There are numerous suggested ways to fix that, but I was having problems making it work consistently, so I'll start with "unconfined" and try to figure it out a stricter policy in a future commit. See also: * https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#setting-up-chrome-linux-sandbox * jessfraz/dockerfiles#65 (comment) * https://github.com/moby/moby/blob/master/profiles/seccomp/default.json * https://docs.docker.com/engine/security/seccomp/ * https://kubernetes.io/docs/tutorials/security/seccomp/
- Loading branch information
1 parent
68af69c
commit 921ec4f
Showing
4 changed files
with
233 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.