Skip to content

Commit 1e23b7b

Browse files
committed
remove legacy AzureFunctions sample
1 parent c3330a2 commit 1e23b7b

9 files changed

Lines changed: 1 addition & 213 deletions

File tree

.github/workflows/DockerBuild.AzureFunctionsBaseImage.yaml

Lines changed: 0 additions & 73 deletions
This file was deleted.

docker/AzureFunctionsBaseImage.Dockerfile

Lines changed: 0 additions & 17 deletions
This file was deleted.

docker/README.md

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -27,36 +27,4 @@ Push to your _private_ AWS ECR instance, and configure lambda to run from this c
2727

2828
## AzureFunctionsBaseImage
2929

30-
#### ghcr.io/esri/arcgis-python-api-azure-functions:latest
31-
32-
[Sample](samples/AzureFunctions)
33-
34-
To use this image, setup your dockerfile like
35-
```
36-
FROM ghcr.io/esri/arcgis-python-api-azure-functions:latest
37-
COPY . /home/site/wwwroot
38-
```
39-
40-
Your copied resources will need to include:
41-
- `host.json`, with your appsettings
42-
- `function_app.py`, such as:
43-
44-
```
45-
import arcgis
46-
import azure.functions as func
47-
48-
app = func.FunctionApp()
49-
50-
@app.http_trigger(route='GET /', methods=['get'])
51-
def main(req: func.HttpRequest) -> func.HttpResponse:
52-
return func.HttpResponse(f"Hello from Azure Functions using ArcGIS API for Python {arcgis.__version__}!")
53-
```
54-
55-
Push to the container registry of your choice.
56-
57-
For futher information, see:
58-
59-
- https://learn.microsoft.com/en-us/azure/azure-functions/functions-reference-python?tabs=asgi%2Capplication-level&pivots=python-mode-decorators#programming-model
60-
- https://learn.microsoft.com/en-us/azure/azure-functions/functions-deploy-container-apps?tabs=acr%2Cbash&pivots=programming-language-python#create-and-test-the-local-functions-project
61-
- https://github.com/Azure/azure-functions-python-worker
62-
- https://learn.microsoft.com/en-us/azure/azure-functions/functions-how-to-custom-container
30+
The AzureFunctionsBase image has been deprecated in favor of using the standard runtime for Azure Functions development.

docker/samples/AzureFunctions/.dockerignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

docker/samples/AzureFunctions/.gitignore

Lines changed: 0 additions & 48 deletions
This file was deleted.

docker/samples/AzureFunctions/.vscode/extensions.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

docker/samples/AzureFunctions/Dockerfile

Lines changed: 0 additions & 6 deletions
This file was deleted.

docker/samples/AzureFunctions/function_app.py

Lines changed: 0 additions & 14 deletions
This file was deleted.

docker/samples/AzureFunctions/host.json

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)