This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS builder | |
RUN git clone https://github.com/Azure/azure-functions-core-tools | |
RUN cd azure-functions-core-tools \ | |
&& dotnet build Azure.Functions.Cli.sln \ | |
&& dotnet publish src/Azure.Functions.Cli/Azure.Functions.Cli.csproj --runtime linux-arm64 --output /usr/local/src/azure-functions-core-tools/cli | |
# You can use any other container image | |
FROM node:16-bullseye |