Skip to content

xdev-software/testcontainers-advanced-imagebuilder

Repository files navigation

Latest version Build Quality Gate Status

Advanced Image-Builder for Testcontainers Java

A re-implementation of Testcontainers Image-Builder with the following improvements:

  • Allows passing a custom logger to the image build - testcontainers-java#3093
  • Allows using ARGs for FROM - testcontainers-java#3238
  • Brings a custom build-context processor
    • Works more efficient and reliable than the default implementation because it utilizes JGit
    • uses the .gitignore if available
    • Allows adding custom ignores
      • This way the build-context can be fine tuned in a way that the build cache works very efficiently (e.g. only re-built when actual code that matters changes)
    • Makes it possible to modify files that are transferred
  • Provide a compatibility layer to emulate COPY --parents (which is currently not supported by Docker out of the box)
  • Do not pull images that are declared inside the Dockerfile
  • Makes logger non generic and therefore controllable
  • Some general code cleanup and performance improvements

For more details have a look at the demo.
The demo showcases how an image for another application in the same repo can be built.

Installation

Installation guide for the latest release

Support

If you need support as soon as possible and you can't wait for any pull request, feel free to use our support.

Contributing

See the contributing guide for detailed instructions on how to get started with our project.

Dependencies and Licenses

View the license of the current project or the summary including all dependencies

Disclaimer: This is not an official Testcontainers product and not associated

Contributors 7