Skip to content

Instantly share code, notes, and snippets.

@ohayoyogi
ohayoyogi / Dockerfile
Created December 30, 2022 14:45
Dockerfile for building azure-functions-core-tools for linux-arm64 ( for nodejs )
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