Custom CEF in Docker

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Custom CEF in Docker

Postby jbleyaert » Mon Oct 25, 2021 8:19 am

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
Last edited by jbleyaert on Wed Oct 27, 2021 8:04 am, edited 1 time in total.
jbleyaert
Techie
 
Posts: 14
Joined: Thu Oct 21, 2021 5:14 am

Re: Custom CEF in Docker

Postby magreenblatt » Mon Oct 25, 2021 10:28 am

Are you building CEF using the official release configuration? https://bitbucket.org/chromiumembedded/ ... figuration
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Custom CEF in Docker

Postby jbleyaert » Tue Oct 26, 2021 2:17 am

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.
jbleyaert
Techie
 
Posts: 14
Joined: Thu Oct 21, 2021 5:14 am

Re: Custom CEF in Docker

Postby magreenblatt » Tue Oct 26, 2021 9:59 am

You should use the official release configuration.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Custom CEF in Docker

Postby jbleyaert » Wed Oct 27, 2021 2:21 am

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.
jbleyaert
Techie
 
Posts: 14
Joined: Thu Oct 21, 2021 5:14 am

Re: Custom CEF in Docker

Postby magreenblatt » Wed Oct 27, 2021 9:12 am

Look at the command-line arguments that automate-git.py accepts. You can specify your own URL, commit hash, etc.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 52 guests