Update to Debian 9 and .NET Core 2.0.6
This commit is contained in:
parent
514c020fce
commit
3380d34016
|
@ -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 \
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue