How can we improve Microsoft Azure Functions?

Support Linux + Python support for Azure functions

Please support python based Azure functions that run in a Linux Docker container.

Linux Docker containers are already supported so we are half of the way there and Python is working/supported on windows preview.

https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-function-linux-custom-image

Currently if you try to create a simple python based Azure function on Linux preview you get the error: HttpTriggerPy1: Object reference not set to an instance of an object.

The use case here is being able to run "enterprise" python 2 environments with hard dependencies on Linux. I can verify python runs correctly and can send an example Dockerfile if needed.

14 votes
Sign in
(thinking…)
Sign in with: Microsoft
Signed in as (Sign out)

We’ll send you updates on this idea

Nicholas Pezolano shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

Running Python Functions in a Linux-based container is already supported today. More info here – https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-function-linux-custom-image

However, if you’re trying to run Python 2, extending the default image will not work since the language worker only supports 3.6.x or later. Instead, you’ll need to write your own language worker for the required version.

3 comments

Sign in
(thinking…)
Sign in with: Microsoft
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base