Skip to content

Commit ac8ddf4

Browse files
authored
Actually remove pined versions of microsoft C# images for testing (#1529)
* Actually remove pined versions of microsoft C# images for testing * Include suggestions from #4923
1 parent a4764bb commit ac8ddf4

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

renovate.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,13 @@
3636
"allowedVersions": "<=4.0"
3737
},
3838
{
39-
"matchDatasources": ["docker"],
40-
"matchPackagePatterns": ["^mcr\\.microsoft\\.com/dotnet"],
41-
"pinDigests": false
39+
"matchDatasources": [
40+
"docker"
41+
],
42+
"pinDigests": false,
43+
"matchPackageNames": [
44+
"/^mcr\\.microsoft\\.com/dotnet/"
45+
]
4246
}
4347
]
4448
}

test/Altinn.App.Analyzers.Tests/testapp/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine@sha256:b2ad158bbc77970a5095e02db40079970227f2d5aee0af0f82e38668d5e43a09 AS build
1+
FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build
22
WORKDIR /App
33

44
COPY /App/App.csproj .
@@ -8,7 +8,7 @@ COPY /App .
88

99
RUN dotnet publish App.csproj --configuration Release --output /app_output
1010

11-
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine@sha256:c41927c17f93a060a001bbedf977c0aa30be3b7d6559ecc5b656edbac639cc84 AS final
11+
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine AS final
1212
EXPOSE 5005
1313
WORKDIR /App
1414
COPY --from=build /app_output .

test/Altinn.App.Integration.Tests/_testapps/basic/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine@sha256:b2ad158bbc77970a5095e02db40079970227f2d5aee0af0f82e38668d5e43a09 AS build
1+
FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build
22

33
COPY NuGet.config .
44
COPY _packages _packages/
@@ -14,7 +14,7 @@ RUN dotnet publish App.csproj --configuration Release --output /app_output
1414
# Ensure that the config folder is copied to the output folder (policy.xml was missing)
1515
RUN cp -R config /app_output/
1616

17-
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine@sha256:c41927c17f93a060a001bbedf977c0aa30be3b7d6559ecc5b656edbac639cc84 AS final
17+
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine AS final
1818
EXPOSE 5005
1919
EXPOSE 5006
2020
WORKDIR /App

test/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build stage
2-
FROM mcr.microsoft.com/dotnet/sdk:8.0@sha256:ff8311847c54c04d1a14c488362807997d59b61372da5095a95f89cbcda7f9b7 AS build
2+
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
33
WORKDIR /app-root-dir
44

55
COPY AppLibDotnet.sln .

0 commit comments

Comments
 (0)