update certificates for docker correct build.
This commit is contained in:
parent
f17f7ccec6
commit
22f5dbea91
@ -1,9 +1,12 @@
|
|||||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
|
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
|
RUN apt-get update && apt-get install -y ca-certificates && update-ca-certificates
|
||||||
|
RUN apt-get install -y curl && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
|
||||||
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
RUN apt-get update && apt-get install -y ca-certificates && update-ca-certificates
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Create NuGet.Config with package source mapping to avoid NU1507 warnings
|
# Create NuGet.Config with package source mapping to avoid NU1507 warnings
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user