Azure / Azure/azure-functions-docker

Images size is too high

Open
#236 16 comments 25 reactions 0 assignees View on GitHub
Dominant language
Dockerfile
Stars
280
Forks
126
PR merge metrics
No merged PRs in 30d

Description

I was trying to use the base images from here to run Azure functions in AKS as per https://docs.microsoft.com/en-us/azure/azure-functions/functions-kubernetes-keda. But, the image size is too big for a container to run in AKS and not within the usual Microsoft recommended size (usually 500 MB) . Can the images be optimised/ minimised to have smaller size production suitable images?

```
mcr.microsoft.com/azure-functions/node 3.0-node12-slim e9b3caa41813 5 days ago 689MB
mcr.microsoft.com/azure-functions/node 3.0 e76a3b5bc828 5 days ago 959MB
mcr.microsoft.com/azure-functions/node 2.0-node12 115da2d8d28e 2 months ago 600MB
mcr.microsoft.com/azure-functions/node 2.0 1460b85a9170 2 months ago 588MB
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.