From bc7ef97adde310b6f2db82c654b022cefb32f022 Mon Sep 17 00:00:00 2001 From: Curtis Mitchell Date: Thu, 29 Dec 2016 23:15:02 -0500 Subject: [PATCH] update version of nuget and fix https issue --- Dockerfile | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 877db12..51b23f5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,18 +1,15 @@ -FROM alpine:3.3 +FROM alpine:3.4 RUN echo "@testing http://dl-4.alpinelinux.org/alpine/edge/testing" | tee -a /etc/apk/repositories +RUN echo "http://dl-5.alpinelinux.org/alpine/edge/main/" | tee -a /etc/apk/repositories RUN apk update && \ - apk add \ - ca-certificates \ - nodejs \ - mono@testing && \ - rm -rf \ - /var/cache/apk/* + apk --no-cache add wget ca-certificates nodejs mono@testing && \ + cert-sync /etc/ssl/certs/ca-certificates.crt RUN mkdir -p /usr/lib/nuget && \ wget \ - https://dist.nuget.org/win-x86-commandline/v2.8.6/nuget.exe \ + https://dist.nuget.org/win-x86-commandline/v3.5.0/NuGet.exe \ -O /usr/lib/nuget/NuGet.exe WORKDIR /node @@ -20,4 +17,4 @@ ADD package.json /node/ ADD index.js /node/ RUN npm install --production -ENTRYPOINT ["node", "index.js"] +ENTRYPOINT ["node", "index.js"] \ No newline at end of file