Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use /tmp for zookeeper.properties and startup script #7524

Merged
merged 4 commits into from
May 20, 2024

Conversation

kahowell
Copy link
Contributor

@kahowell kahowell commented Sep 12, 2023

This aids compatibility when running in more security-constrained environments, such as OpenShift, when using kubedock.

Fixes #8637

This aids compatibility when running in more security-constrained
environments, such as OpenShift, when using kubedock.
@kahowell kahowell requested a review from a team as a code owner September 12, 2023 19:01
@@ -37,7 +37,7 @@ public class KafkaContainer extends GenericContainer<KafkaContainer> {

private static final String DEFAULT_INTERNAL_TOPIC_RF = "1";

private static final String STARTER_SCRIPT = "/testcontainers_start.sh";
private static final String STARTER_SCRIPT = "/tmp/testcontainers_start.sh";

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it would be possible to allow for the path to be fully configurable from the outside instead of hard coding it to /tmp ?

@eddumelendez
Copy link
Member

Hi, thanks for the PR. I think if we are going to do something like this then it should apply to all modules. No changes required. Will bring this PR to discuss with the team.

@eddumelendez eddumelendez added this to the next milestone May 20, 2024
@eddumelendez eddumelendez merged commit ced5b72 into testcontainers:main May 20, 2024
97 checks passed
@eddumelendez
Copy link
Member

Thanks for your contribution, @kahowell !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement]: Add ability to customize a path to testcontainers_start.sh
4 participants