perftools / xhgui

Web interface for XHProf profiling data can store data in MongoDB or PDO database
1.65k stars 342 forks source link

Add support for pre-built docker image (update only app layer) #407

Closed glensc closed 3 years ago

glensc commented 3 years ago

Problem is that --cache-from has no effect in GitHub Actions builds. The builds are always full, compiling pecl/mongodb from source:

Example:

Let's save (some) green energy and don't build the extension from the source on each pull request. This results in a bit bigger image, as the source is added twice to layers, but the image is still accurate.

Example: