feat(directory): use latest patch base dotnet images

This commit is contained in:
Collin M. Barrett 2020-09-22 18:00:41 -05:00
parent c5deebf5d2
commit 68f7a52874
3 changed files with 5 additions and 5 deletions

View file

@ -1,11 +1,11 @@
# init base
FROM mcr.microsoft.com/dotnet/core/runtime-deps:3.1.7-alpine AS base
FROM mcr.microsoft.com/dotnet/core/runtime-deps:3.1-alpine AS base
LABEL org.opencontainers.image.description="filterlists.com | github.com/collinbarrett/filterlists | An ASP.NET Core API CRUD-ing with a Postgres instance via EF Core."
WORKDIR /app
EXPOSE 80
# init build
FROM mcr.microsoft.com/dotnet/core/sdk:3.1.401-alpine AS build
FROM mcr.microsoft.com/dotnet/core/sdk:3.1-alpine AS build
ENV DOTNET_CLI_TELEMETRY_OPTOUT=true
# restore API

View file

@ -1,10 +1,10 @@
# init base for Visual Studio debugging
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1.7-alpine AS base
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-alpine AS base
WORKDIR /app
EXPOSE 80
# init build
FROM mcr.microsoft.com/dotnet/core/sdk:3.1.401-alpine AS build
FROM mcr.microsoft.com/dotnet/core/sdk:3.1-alpine AS build
ENV DOTNET_CLI_TELEMETRY_OPTOUT=true
# restore API

View file

@ -1,5 +1,5 @@
# init test-migrations
FROM mcr.microsoft.com/dotnet/core/sdk:3.1.401-alpine AS test-migrations
FROM mcr.microsoft.com/dotnet/core/sdk:3.1-alpine AS test-migrations
ENV DOTNET_CLI_TELEMETRY_OPTOUT=true
ENTRYPOINT ["dotnet", "test", "--logger:trx"]