Skip to content

Commit 4ea44aa

Browse files
authored
chore: Pin image digest (#1658)
1 parent 21e854c commit 4ea44aa

File tree

65 files changed

+87
-87
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+87
-87
lines changed

examples/WeatherForecast/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:10.0 AS build-env
1+
FROM mcr.microsoft.com/dotnet/sdk:10.0.3@sha256:e362a8dbcd691522456da26a5198b8f3ca1d7641c95624fadc5e3e82678bd08a AS build-env
22
ARG CSPROJ_FILE_PATH="src/WeatherForecast/WeatherForecast.csproj"
33
ARG RESOURCE_REAPER_SESSION_ID="00000000-0000-0000-0000-000000000000"
44
LABEL "org.testcontainers.resource-reaper-session"=$RESOURCE_REAPER_SESSION_ID
@@ -10,7 +10,7 @@ RUN dotnet restore $CSPROJ_FILE_PATH
1010

1111
RUN dotnet publish $CSPROJ_FILE_PATH --configuration Release --framework net10.0 --runtime linux-x64 --self-contained false --output out /p:DebugType=None /p:DebugSymbols=false
1212

13-
FROM mcr.microsoft.com/dotnet/aspnet:10.0
13+
FROM mcr.microsoft.com/dotnet/aspnet:10.0.3@sha256:aec87aa74ddf129da573fa69f42f229a23c953a1c6fdecedea1aa6b1fe147d76
1414
ARG RESOURCE_REAPER_SESSION_ID="00000000-0000-0000-0000-000000000000"
1515
LABEL "org.testcontainers.resource-reaper-session"=$RESOURCE_REAPER_SESSION_ID
1616
WORKDIR /app

src/Testcontainers/Containers/PortForwarding.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public Task ExposeHostPortsAsync(IEnumerable<ushort> ports, CancellationToken ct
6161
[PublicAPI]
6262
private sealed class PortForwardingBuilder : ContainerBuilder<PortForwardingBuilder, PortForwardingContainer, PortForwardingConfiguration>
6363
{
64-
public const string SshdImage = "testcontainers/sshd:1.2.0";
64+
public const string SshdImage = "testcontainers/sshd:1.2.0@sha256:eb168d900fc070479a5e90dfac5a55ab80ee364a1d5017a5a8dc3ad8cb4e975a";
6565

6666
public const ushort SshdPort = 22;
6767

src/Testcontainers/Containers/ResourceReaper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public sealed class ResourceReaper : IAsyncDisposable
3333
/// </summary>
3434
private const int RetryTimeoutInSeconds = 2;
3535

36-
private static readonly IImage RyukImage = new DockerImage("testcontainers/ryuk:0.14.0");
36+
private static readonly IImage RyukImage = new DockerImage("testcontainers/ryuk:0.14.0@sha256:7c1a8a9a47c780ed0f983770a662f80deb115d95cce3e2daa3d12115b8cd28f0");
3737

3838
private static readonly SemaphoreSlim DefaultLock = new SemaphoreSlim(1, 1);
3939

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
FROM apache/activemq-artemis:2.31.2
1+
FROM apache/activemq-artemis:2.31.2@sha256:7b9398d6cedb81f8cf7cb30c83f64ee4fd8eb1c301ed1f28951f114fa03255c0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
FROM arangodb:3.11.5
1+
FROM arangodb:3.11.5@sha256:45dbf9477eeef34bb3737d9f48cd3bf2e5afaef01a51195191274ac15346c2a6
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
FROM mcr.microsoft.com/azure-storage/azurite:3.28.0
1+
FROM mcr.microsoft.com/azure-storage/azurite:3.28.0@sha256:b2edf4c05060390f368fef3dde4b82981b7125c763a3c6fdeb16e74b20094375
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
FROM ghcr.io/goccy/bigquery-emulator:0.4
1+
FROM ghcr.io/goccy/bigquery-emulator:0.4.4@sha256:967b9efed8c5d0228b8f0370ce37c387df8a799ad53a34c2e96f6a8dfcb0dda2
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
FROM gcr.io/google.com/cloudsdktool/google-cloud-cli:446.0.1-emulators
1+
FROM gcr.io/google.com/cloudsdktool/google-cloud-cli:446.0.1-emulators@sha256:7d2e60f14bb184c85bfce5f857cc7a23a0c4ab8b94e3e79007a6bb384f2d3cb3
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
FROM cassandra:5.0
1+
FROM cassandra:5.0.6@sha256:f56458c007cf111c663a23bd19d8e49a4228212b02a46c080f5384ded47ade6f
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
FROM clickhouse/clickhouse-server:23.6-alpine
1+
FROM clickhouse/clickhouse-server:23.6.3@sha256:d36e3dd739b0af0d4944defa61f2b7db0b2cde71236d81c2f4e71fafda5f7aac

0 commit comments

Comments
 (0)