testcontainers / testcontainers/testcontainers-java
DockerComposeContainer doesn't support classpath resources for compose files
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 1.9k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 9
Description
The DockerComposeContainer only accepts "File" objects to load the compose files. This is very limiting, particularly if you want to package the compose file inside a jar. Allowing it to e.g. accept InputStream or a URL would allow a lot more options.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at DockerComposeContainer and trace how compose files are currently loaded from File objects. Define completion as supporting classpath-backed resources through an InputStream or URL while preserving existing file support, then add or update tests covering the supported resource forms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, docker-compose, java
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100