The Azure Functions extension requires the installation of .Net Core to run properly and the Azure Functions Core Tools. These instructions walk through the proper steps required to get extension running properly on a Fedora 30 workstation.
dotnet --version
The install for the Function Core Tools requires at least the 2.2 SDK
The SDK is not yet in the main Fedora package system. A Copr repo is required
-
Add the repo
sudo dnf copr enable @dotnet-sig/dotnet
-
install at least the 2.2 version
sudo dnf install dotnet-sdk-2.2
Found at: https://github.com/Azure/azure-functions-core-tools
Unzip the downloaded zip file to a working directory ( where <version_number> matches the number of the file downloaded
unzip -d ~/tmp/azure-functions-cli azure-functions-core-tools-2.7.1415.zip
cd ~/tmp/azure-functions-cli/azure-functions-core-tools-2.7.1415
sudo sh build.sh
If all goes well, this creates the completed app in the /tmp/cli folder
cp -r /tmp/cli/* /opt/azf-cli
sudo chmod -R 755 /opt/azf-cli
export PATH=$PATH:/opt/azf-cli
func --version