diff --git a/src/Sample.Platform/Dockerfile b/src/Sample.Platform/Dockerfile
index 5ac88d1..c17b49b 100644
--- a/src/Sample.Platform/Dockerfile
+++ b/src/Sample.Platform/Dockerfile
@@ -7,7 +7,7 @@ RUN dotnet restore -r linux-musl-x64
COPY . .
RUN dotnet publish -c Release -o /app -r linux-musl-x64 --no-restore
-FROM masstransit/platform:latest
+FROM masstransit/platform:7.0
WORKDIR /app
ARG MT_APP=/app
ENV MT_APP="${MT_APP}"
diff --git a/src/Sample.Platform/Sample.Platform.csproj b/src/Sample.Platform/Sample.Platform.csproj
index b1c5219..bc79537 100644
--- a/src/Sample.Platform/Sample.Platform.csproj
+++ b/src/Sample.Platform/Sample.Platform.csproj
@@ -5,7 +5,7 @@
-
+
diff --git a/src/Sample.Platform/SampleStartup.cs b/src/Sample.Platform/SampleStartup.cs
index 9b19727..034aae1 100644
--- a/src/Sample.Platform/SampleStartup.cs
+++ b/src/Sample.Platform/SampleStartup.cs
@@ -9,14 +9,14 @@ namespace Sample.Platform
public class SampleStartup :
IPlatformStartup
{
- public void ConfigureMassTransit(IServiceCollectionConfigurator configurator, IServiceCollection services)
+ public void ConfigureMassTransit(IServiceCollectionBusConfigurator configurator, IServiceCollection services)
{
configurator.AddConsumer();
}
- public void ConfigureBus(IBusFactoryConfigurator configurator, IServiceProvider provider)
- where TEndpointConfigurator : IReceiveEndpointConfigurator
+ public void ConfigureBus(IBusFactoryConfigurator configurator, IBusRegistrationContext context) where TEndpointConfigurator : IReceiveEndpointConfigurator
{
+
}
}
-}
\ No newline at end of file
+}