You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects.API/Dockerfile
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
# See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging.
2
2
3
3
# This stage is used when running from VS in fast mode (Default for Debug configuration)
4
-
FROM mcr.microsoft.com/dotnet/aspnet:8.0-azurelinux3.0 AS base
4
+
FROM mcr.microsoft.com/dotnet/aspnet:8.0-azurelinux3.0@sha256:0a9ce1086b3abbb226f557740753b0c848c636407ae272f5f84d74a861e733fc AS base
5
5
USER $APP_UID
6
6
WORKDIR /app
7
7
EXPOSE 3001
8
8
EXPOSE 3000
9
9
10
10
# This stage is used to build the service project
11
-
FROM mcr.microsoft.com/dotnet/sdk:8.0-azurelinux3.0 AS build
11
+
FROM mcr.microsoft.com/dotnet/sdk:8.0-azurelinux3.0@sha256:167233a94c6a4cec070fa04e04b95a9e5a0a670a9b77d31cd6d0b7f3f3eb3de7 AS build
Copy file name to clipboardExpand all lines: Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects.Data/Dockerfile
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,12 @@
2
2
# See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging.
3
3
4
4
# This stage is used when running from VS in fast mode (Default for Debug configuration)
5
-
FROM mcr.microsoft.com/dotnet/runtime:8.0 AS base
5
+
FROM mcr.microsoft.com/dotnet/runtime:8.0@sha256:40e24d28590d355e21a9923a9304a38da1a255d32edf7a5b3d54ec43b3e20637 AS base
6
6
USER $APP_UID
7
7
WORKDIR /app
8
8
9
9
# This stage is used to build the service project
10
-
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
10
+
FROM mcr.microsoft.com/dotnet/sdk:8.0@sha256:a87db299d259cec53210df406cd5e51f900a0c6d938fe56d5f392629c0505d75 AS build
Copy file name to clipboardExpand all lines: Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/Dockerfile
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
# See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging.
2
2
3
3
# This stage is used when running from VS in fast mode (Default for Debug configuration)
4
-
FROM mcr.microsoft.com/dotnet/aspnet:8.0-azurelinux3.0 AS base
4
+
FROM mcr.microsoft.com/dotnet/aspnet:8.0-azurelinux3.0@sha256:0a9ce1086b3abbb226f557740753b0c848c636407ae272f5f84d74a861e733fc AS base
5
5
6
6
USER $APP_UID
7
7
WORKDIR /app
8
8
EXPOSE 5001
9
9
EXPOSE 5000
10
10
11
11
# This stage is used to build the service project
12
-
FROM mcr.microsoft.com/dotnet/sdk:8.0-azurelinux3.0 AS build
12
+
FROM mcr.microsoft.com/dotnet/sdk:8.0-azurelinux3.0@sha256:167233a94c6a4cec070fa04e04b95a9e5a0a670a9b77d31cd6d0b7f3f3eb3de7 AS build
0 commit comments