Add a simple little Docker container for testing Azure Functions
This seems like a good idea
This commit is contained in:
commit
1f80295c93
|
@ -0,0 +1 @@
|
|||
*.sw*
|
|
@ -0,0 +1,13 @@
|
|||
FROM node:stretch
|
||||
|
||||
RUN curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > /etc/apt/trusted.gpg.d/microsoft.gpg
|
||||
|
||||
RUN apt-get update && apt-get install -qy apt-transport-https
|
||||
ADD dotnetdev.list /etc/apt/sources.list.d/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -qy gnupg curl libunwind8 \
|
||||
gettext dotnet-sdk-2.0.2
|
||||
|
||||
RUN npm install -g \
|
||||
azure-functions-core-tools@core --unsafe-perm true
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
CONTAINER=rtyler/azure-functions:latest
|
||||
|
||||
|
||||
all: Dockerfile
|
||||
docker build -t $(CONTAINER) .
|
||||
|
||||
push: all
|
||||
docker push $(CONTAINER)
|
||||
|
||||
.PHONY: all push
|
|
@ -0,0 +1,4 @@
|
|||
= Azure Functions Container
|
||||
|
||||
This is a Docker container to make running
|
||||
link:https://docs.microsoft.com/en-us/azure/azure-functions/functions-run-local[Azure Functions Core Tools].
|
|
@ -0,0 +1 @@
|
|||
deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-debian-stretch-prod stretch main
|
Loading…
Reference in New Issue