Azure Functions
Azure Functions is an event driven, compute-on-demand experience that extends the existing Azure application platform with capabilities to implement code triggered by events occurring in other Azure services, SaaS products, and on-premises systems. With Azure Functions, your applications scale based on demand and you pay only for the resources you consume. Azure Functions provides an intuitive, browser-based user interface allowing you to create scheduled or triggered pieces of code implemented in a variety of programming languages.
-
Allow running headless Chrome (or other browser) in Function apps or Web apps
Basically it's this:
https://cloud.google.com/blog/products/gcp/introducing-headless-chrome-support-in-cloud-functions-and-app-engineNow obviously Google has a bit of an advantage here what with Chrome being their own tech but there are so many blogs out there with people talking about complicated Docker solutions just to run headless Chrome in the cloud.
It would be great if we could get a solution where we could run Puppeteer in much the same way, or allow web apps to run Chrome without having to be inside Docker and we could manage a pool of Chromes without having to manage Docker as well.
56 votesHeadless Chrome requires some libraries to be installed that aren’t available in the containers we use in Linux consumption. You can, however, run your function app in a Docker container with the libraries installed. Custom containers are currently supported in the Premium and App Service plans. Take a look at this example from a community member of a Dockerfile with the dependencies: https://github.com/estruyf/azure-function-node-puppeteer/blob/master/Dockerfile
- Anthony
-
Please eliminate sandbox restrictions while running in Docker
Right now the sandbox applies to azure function apps even when they're running in docker. Docker is the sandbox in that case. Further, things like System.Drawing.Common aren't effected on Linux the same as they are on Windows so there should be no issue requiring the sandbox to interfere.
So Azure Functions should disable the sand-boxing when running in docker entirely.
Failing that, it should disable the System.Drawing.Common limitations if running on Linux.
1 vote
- Don't see your idea?