update .NET 2.1 image

This commit is contained in:
nicolas.dorier
2018-05-31 23:58:09 +09:00
parent ea7b4525ae
commit 1a6a2ddb37

View File

@@ -1,4 +1,4 @@
FROM microsoft/dotnet:2.1.300-rc1-sdk-alpine3.7 AS builder FROM microsoft/dotnet:2.1.300-sdk-alpine3.7 AS builder
WORKDIR /source WORKDIR /source
COPY src/docker-compose-generator.csproj docker-compose-generator.csproj COPY src/docker-compose-generator.csproj docker-compose-generator.csproj
# Cache some dependencies # Cache some dependencies
@@ -6,7 +6,7 @@ RUN dotnet restore
COPY src/. . COPY src/. .
RUN dotnet publish --output /app/ --configuration Release RUN dotnet publish --output /app/ --configuration Release
FROM microsoft/dotnet:2.1.0-rc1-runtime-alpine3.7 FROM microsoft/dotnet:2.1.0-runtime-alpine3.7
WORKDIR /app WORKDIR /app
RUN mkdir /datadir RUN mkdir /datadir