Skip to content

Commit 99b82f5

Browse files
Merge pull request #313114 from ggailey777/pr-128202
[Functions] Ported custom Dockerfile templates from public repo
2 parents ff5dc84 + b96a64e commit 99b82f5

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

articles/azure-functions/functions-how-to-custom-container.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Work with Azure Functions in Containers
33
description: Learn how to work with containerized function apps running in Linux containers in an Azure Container Apps environment.
4-
ms.date: 02/25/2026
4+
ms.date: 03/13/2026
55
ms.topic: how-to
66
zone_pivot_groups: functions-container-hosting
77
ms.custom:
@@ -99,6 +99,15 @@ The Azure Functions extension for Visual Studio Code creates your Dockerfile whe
9999

100100
---
101101

102+
## Create a custom Dockerfile
103+
104+
Instead of using a generated Dockerfile, you can manually create one when you need more control over your container image. The [custom-container](https://github.com/Azure/azure-functions-docker/tree/dev/custom-container) folder of the `azure-functions-docker` repository provides these templates to get you started:
105+
106+
| Template | Description |
107+
|----------|-------------|
108+
| [template.Dockerfile](https://github.com/Azure/azure-functions-docker/blob/dev/custom-container/template.Dockerfile) | A commented, step-by-step guide for building a custom container. It includes instructions for multiple language runtimes (Java, .NET isolated, Node.js, PowerShell, Python), optional CA certificate installation, running as a non-root user, and enabling SSH for Kudu debugging. |
109+
| [sample.Dockerfile](https://github.com/Azure/azure-functions-docker/blob/dev/custom-container/sample.Dockerfile) | A ready-to-use example built from the template that creates a Java-based Azure Functions container with SSH enabled for Kudu debugging. |
110+
102111
## Create your function app in a container
103112

104113
With a Functions-generated Dockerfile in your code project, you can use Docker to create the containerized function app on your local computer. The following `docker build` command creates an image of your containerized functions from the project in the local directory:

0 commit comments

Comments
 (0)