Update to Debian 9 and .NET Core 2.0.6

This commit is contained in:
R. Tyler Croy 2018-04-19 13:16:18 -07:00
parent 514c020fce
commit 3380d34016
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
2 changed files with 4 additions and 4 deletions

View File

@ -1,12 +1,12 @@
FROM node:8-stretch
FROM node:9-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
RUN apt-get update && apt-get install -qy apt-transport-https libunwind8 gettext
ADD dotnetdev.list /etc/apt/sources.list.d/
RUN apt-get update && \
apt-get install -qy dotnet-runtime-2.0.3 &&\
apt-get install -qy dotnet-runtime-2.0.6 &&\
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
npm install -g \

View File

@ -19,7 +19,7 @@ Function app lives and run:
[source,bash]
----
docker run --net host --rm -ti -v $PWD:$PWD -w PWD rtyler/azure-functions func start
docker run --net host --rm -ti -v $PWD:$PWD -w $PWD rtyler/azure-functions func start
----
image::https://github.com/rtyler/azure-functions-docker/blob/master/local-azure-functions.png?raw=true[In action]