Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Update mcr.microsoft.com/dotnet/sdk Docker tag to v9 #788

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion Dfe.PrepareTransfers.Redirector/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN npm install
RUN npm run build

# Stage 2 - DotNet
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS dotnetBuild
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS dotnetBuild
WORKDIR /build
COPY . .
RUN rm -rf ./Dfe.PrepareTransfers.Redirector/wwwroot/src
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
ARG NODEJS_IMAGE_TAG=18.20-bullseye

# Stage 1 - Build frontend assets
FROM node:${NODEJS_IMAGE_TAG} as frontend

Check warning on line 5 in Dockerfile

View workflow job for this annotation

GitHub Actions / build

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
COPY ./Dfe.PrepareTransfers.Web/ /build/
WORKDIR /build/wwwroot
RUN npm install
RUN npm run build

# Stage 2 - Build project
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS publish
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS publish
WORKDIR /build

COPY ./Dfe.PrepareTransfers.Data/ ./Dfe.PrepareTransfers.Data/
Expand Down
Loading