【问题标题】:How to use custom image for Azure Linux Functions in Azure Portal?如何在 Azure 门户中为 Azure Linux Functions 使用自定义映像?
【发布时间】:2021-10-26 16:17:39
【问题描述】:

有人可以在 Azure 门户中为 Azure Linux Functions 使用自定义映像吗?

【问题讨论】:

    标签: linux image azure-functions customization


    【解决方案1】:

    要在自定义 Linux 容器中部署 Azure 函数代码,需要高级计划或专用(应用服务计划)计划托管。

    您也可以使用默认的 Azure 应用服务容器

    以下是如何创建自定义图像的步骤

    • 使用 Azure Functions Core Tools 创建函数应用和 Dockerfile。
    • 使用 Docker 构建自定义映像。
    • 将自定义映像发布到容器注册表。
    • 在 Azure 中为函数应用创建支持资源
    • 从 Docker Hub 部署函数应用。
    • 将应用程序设置添加到函数应用。
    • 启用持续部署。
    • 启用与容器的 SSH 连接。
    • 添加队列存储输出绑定。

    更多信息请查看Azure Linux Function with Custom Image

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-10-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-02-12
      • 1970-01-01
      相关资源
      最近更新 更多