Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Commit 0b461a2

Browse files
committed
chore: update docker build and run environment to dotnet v6 (#468)
After this, we will be able to update our services to dotnet v6
1 parent f17e2d8 commit 0b461a2

11 files changed

Lines changed: 20 additions & 15 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ jobs:
3737
- name: Checkout repository
3838
uses: actions/checkout@v2
3939

40+
- uses: actions/setup-dotnet@v1
41+
with:
42+
dotnet-version: '6.0.x'
43+
include-prerelease: true
44+
4045
# Initializes the CodeQL tools for scanning.
4146
- name: Initialize CodeQL
4247
uses: github/codeql-action/init@v1

src/ApiGateways/eSchool.GraphQL/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
FROM mcr.microsoft.com/dotnet/aspnet:5.0-buster-slim AS base
1+
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
22
WORKDIR /app
33
EXPOSE 80
44

5-
FROM mcr.microsoft.com/dotnet/sdk:5.0-buster-slim AS build
5+
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
66
WORKDIR /src
77

88
COPY "eSchool.sln" "eSchool.sln"

src/Services/CertificateProcessing/CertificateProcessing.API/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
FROM mcr.microsoft.com/dotnet/aspnet:5.0-buster-slim AS base
1+
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
22
WORKDIR /app
33
EXPOSE 80
44

5-
FROM mcr.microsoft.com/dotnet/sdk:5.0-buster-slim AS build
5+
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
66
WORKDIR /src
77

88
COPY "eSchool.sln" "eSchool.sln"

src/Services/Enrolling/Enrolling.API/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
FROM mcr.microsoft.com/dotnet/aspnet:5.0-buster-slim AS base
1+
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
22
WORKDIR /app
33
EXPOSE 80
44

5-
FROM mcr.microsoft.com/dotnet/sdk:5.0-buster-slim AS build
5+
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
66
WORKDIR /src
77

88
COPY "eSchool.sln" "eSchool.sln"

src/Services/Enrolling/Enrolling.API/Enrolling.API.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22
<PropertyGroup>
3-
<TargetFramework>net5.0</TargetFramework>
3+
<TargetFramework>net6.0</TargetFramework>
44
<AssemblyName>Enrolling.API</AssemblyName>
55
<RootNamespace>OpenCodeFoundation.ESchool.Services.Enrolling.API</RootNamespace>
66
</PropertyGroup>

src/Services/Enrolling/Enrolling.Domain/Enrolling.Domain.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net5.0</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55

66
<AssemblyName>Enrolling.Domain</AssemblyName>
77
<RootNamespace>OpenCodeFoundation.ESchool.Services.Enrolling.Domain</RootNamespace>

src/Services/Enrolling/Enrolling.FunctionalTests/Enrolling.FunctionalTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net5.0</TargetFramework>
3+
<TargetFramework>net6.0</TargetFramework>
44
<RootNamespace>OpenCodeFoundation.ESchool.Services.Enrolling.FunctionalTests</RootNamespace>
55
<IsPackable>false</IsPackable>
66
</PropertyGroup>

src/Services/Enrolling/Enrolling.Infrastructure/Enrolling.Infrastructure.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net5.0</TargetFramework>
3+
<TargetFramework>net6.0</TargetFramework>
44
<AssemblyName>Enrolling.Infrastructure</AssemblyName>
55
<RootNamespace>OpenCodeFoundation.ESchool.Services.Enrolling.Infrastructure</RootNamespace>
66
</PropertyGroup>

src/Services/Enrolling/Enrolling.UnitTests/Enrolling.UnitTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net5.0</TargetFramework>
3+
<TargetFramework>net6.0</TargetFramework>
44
<IsPackable>false</IsPackable>
55
</PropertyGroup>
66
<ItemGroup>

src/Web/Frontend.Blazor/Frontend.Blazor.Server/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
FROM mcr.microsoft.com/dotnet/aspnet:5.0-buster-slim AS base
1+
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
22
WORKDIR /app
33
EXPOSE 80
44

5-
FROM mcr.microsoft.com/dotnet/sdk:5.0-buster-slim AS build
5+
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
66
WORKDIR /src
77

88
COPY "eSchool.sln" "eSchool.sln"

0 commit comments

Comments
 (0)