Skip to content

chore: include common CMD used across all libraries#7

Merged
mdelapenya merged 5 commits intomainfrom
default-args
Apr 24, 2024
Merged

chore: include common CMD used across all libraries#7
mdelapenya merged 5 commits intomainfrom
default-args

Conversation

@mdelapenya
Copy link
Member

What does this PR do?

It adds the CMD command that is used in testcontainers-java, dotnet testcontainers-node or testcontainers-go

Why is it important?

Reduce duplication across projects, building the image with the same CMD command for all.

Follow-ups

Update the projects to consume the newest image, removing the custom CMD.

@mdelapenya mdelapenya requested a review from a team April 23, 2024 08:24
@mdelapenya mdelapenya added the enhancement New feature or request label Apr 23, 2024
@mdelapenya mdelapenya self-assigned this Apr 23, 2024
@mdelapenya
Copy link
Member Author

I've tested this Dockerfile while working on testcontainers/testcontainers-go#2471, building the image with docker build -t testcontainers/sshd:1.2.0 . and using the new image in the PR, working perfectly.

Once merged and released a new version, I'll update the PR to use 1.2.0, and will eventually submit PRs to all the tc-langs.

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants