Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Azure-Samples/functions-linux-custom-image

Repository files navigation

languages page_type products description
csharp
fsharp
javascript
sample
azure
azure-functions
The code in this repository supports the Azure Functions custom image tutorial for Linux.

Azure Functions on Linux custom image tutorial sample project

The code in this repository supports the Azure Functions custom image tutorial for Linux.

There are three HTTP triggered functions, one each for C#, F#, and JavaScript. These functions are generated from the same HTTP triggered function templates available in the Azure portal.

This repo is designed to be deployed to Azure Functions on Linux as a custom container from a Docker image.

Dockerfile

This project contains a Dockerfile that describes the environment that is required to run the function app on Linux.

When hosting an image in a private container registry, you should add the connection settings to the function app by using ENV variables in the Dockerfile. Because the tutorial that uses this repository cannot guarantee that you use a private registry, the connection settings are added after the deployment by using the Azure CLI as a security best practice.