Page 1 of 1

Custom CEF in Docker

PostPosted: Mon Oct 25, 2021 8:19 am
by jbleyaert
Hi all

I'm able to run a custom cef-simple project in Docker with any CEF release binary.
However, when I run the cef-simple project with my own compiled CEF, I get the following:
[1025/064259.565827:FATAL:process_linux.cc(143)] Check failed: result == 0. : Permission denied (13)

After looking into this, it seems that my Docker needs the privileged flag to adjust the priority of a process.
Why does my build need this, but the release build doesn't?

Thanks in advance
Jelle

Re: Custom CEF in Docker

PostPosted: Mon Oct 25, 2021 10:28 am
by magreenblatt
Are you building CEF using the official release configuration? https://bitbucket.org/chromiumembedded/ ... figuration

Re: Custom CEF in Docker

PostPosted: Tue Oct 26, 2021 2:17 am
by jbleyaert
magreenblatt wrote:Are you building CEF using the official release configuration? https://bitbucket.org/chromiumembedded/ ... figuration


I'm using this:
https://bitbucket.org/chromiumembedded/ ... inux-setup

And I used the Debug build.

Re: Custom CEF in Docker

PostPosted: Tue Oct 26, 2021 9:59 am
by magreenblatt
You should use the official release configuration.

Re: Custom CEF in Docker

PostPosted: Wed Oct 27, 2021 2:21 am
by jbleyaert
magreenblatt wrote:You should use the official release configuration.

All right, I'll try that. And how would this work with a custom Chromium or CEF version that I have locally? The automate-git script checks out a version that is hosted.

Re: Custom CEF in Docker

PostPosted: Wed Oct 27, 2021 9:12 am
by magreenblatt
Look at the command-line arguments that automate-git.py accepts. You can specify your own URL, commit hash, etc.