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.
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.
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.
jim williams commented