Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mcr.microsoft images to builds on Ubuntu 20.04 #2198

Merged
merged 1 commit into from
May 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Docker multi-stage build using 6.0.408-jammy-amd64
FROM mcr.microsoft.com/dotnet/sdk@sha256:7aec153ea5107c1a5977531448e5db564b7b5b2dea0446e2716d8fac15fc543b AS builder
# Docker multi-stage build using 6.0.408-focal-amd64
FROM mcr.microsoft.com/dotnet/sdk@sha256:ee58390fb079afdd11a9537aab538e6e6503e920900685e6d4daab4118d8e08b AS builder
WORKDIR /app

# Copy csproj and restore (fetch dependencies) as distinct layers.
Expand All @@ -10,8 +10,8 @@ RUN dotnet restore
COPY . ./
RUN dotnet publish -c Release -o build

# Build runtime image. Using 6.0-jammy-amd64
FROM mcr.microsoft.com/dotnet/aspnet@sha256:ec02fd792b4bad382893e4d9f8249228db2c764f01222c3f2f2afb9f43605a9b
# Build runtime image. Using 6.0.16-focal-amd64
FROM mcr.microsoft.com/dotnet/aspnet@sha256:7bf9ac0ea764f4bd3669b43bcde2bda92fc950af36eebeb466a89e1186145466

ENV ASPNETCORE_URLS=http://+:5000
ENV COMBINE_IS_IN_CONTAINER=1
Expand Down