Skip to content

Commit

Permalink
feat: Use exec to replace current shell with the Kafka process (as …
Browse files Browse the repository at this point in the history
…ENTRYPOINT) (#1282)
  • Loading branch information
jasoncouture authored Oct 18, 2024
1 parent a75cb73 commit dfb9f41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Testcontainers.Kafka/KafkaBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ protected override KafkaBuilder Init()
startupScript.Append(lf);
startupScript.Append("echo '' > /etc/confluent/docker/ensure");
startupScript.Append(lf);
startupScript.Append("/etc/confluent/docker/run");
startupScript.Append("exec /etc/confluent/docker/run");
return container.CopyAsync(Encoding.Default.GetBytes(startupScript.ToString()), StartupScriptFilePath, Unix.FileMode755, ct);
});
}
Expand Down

0 comments on commit dfb9f41

Please sign in to comment.