testcontainers-go
testcontainers-go copied to clipboard
chore!: extract image-related code to the top-level image package
- chore: extract dockerignore to the image package
- chore: extract image list to the image package
- chore: extract save images to the image package
- chore: extract image substitutors to the image package
- chore: extract image build to the image package
What does this PR do?
This PR refactors the code to extract the docker image related code to a top-level package: image.
This package will be responsible of:
- pulling images
- saving images as tar files
- parsing dockerignore files for image build
- listing images
- calculating image substitutors
- building images
The related tests have been moved to the package, but there are "e2e" tests (they are actually using a ContainerRequest) that have been kept in the root package of the library.
Why is it important?
Separation of concerns, reducing the API surface in the root package.
Deploy Preview for testcontainers-go ready!
| Name | Link |
|---|---|
| Latest commit | afe52257947d320f454572b1773d86bee023f50a |
| Latest deploy log | https://app.netlify.com/sites/testcontainers-go/deploys/67bc94ef1ee2560008966eb3 |
| Deploy Preview | https://deploy-preview-2995--testcontainers-go.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.