Created
February 4, 2022 07:46
-
-
Save kaveenr/a3ea0f685a1ef8efea71092be887c151 to your computer and use it in GitHub Desktop.
Docker Azure Functions Blog
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
ARG VARIANT="3.10-bullseye" | |
FROM mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT} | |
# Install Functions Core Tools | |
RUN curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg | |
RUN mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg | |
RUN sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-$(lsb_release -cs)-prod $(lsb_release -cs) main" > /etc/apt/sources.list.d/dotnetdev.list' | |
RUN sudo apt-get update; \ | |
sudo apt-get install azure-functions-core-tools-4 | |
# Project Dependencies | |
RUN apt-get -y -q install pandoc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment