Skip to content

Instantly share code, notes, and snippets.

@kaveenr
Created February 4, 2022 07:46
Show Gist options
  • Save kaveenr/a3ea0f685a1ef8efea71092be887c151 to your computer and use it in GitHub Desktop.
Save kaveenr/a3ea0f685a1ef8efea71092be887c151 to your computer and use it in GitHub Desktop.
Docker Azure Functions Blog
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