Skip to content

Commit cd81df9

Browse files
committed
Docs
1 parent 505722a commit cd81df9

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,20 @@
22
[![Build](https://img.shields.io/github/actions/workflow/status/xdev-software/testcontainers-java-advanced-imagebuilder/checkBuild.yml?branch=develop)](https://github.com/xdev-software/testcontainers-java-advanced-imagebuilder/actions/workflows/checkBuild.yml?query=branch%3Adevelop)
33
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=xdev-software_testcontainers-java-advanced-imagebuilder&metric=alert_status)](https://sonarcloud.io/dashboard?id=xdev-software_testcontainers-java-advanced-imagebuilder)
44

5-
# testcontainers-java-advanced-imagebuilder
5+
# Advanced Image-Builder for Testcontainers Java
66

7+
A re-implementation of [Testcontainers Image-Builder](https://java.testcontainers.org/features/creating_images/) with the following improvements:
8+
* Allows passing a custom logger to the image build - [testcontainers-java#3093](https://github.com/testcontainers/testcontainers-java/issues/3093)
9+
* Allows using ``ARG``s for ``FROM`` - [testcontainers-java#3238](https://github.com/testcontainers/testcontainers-java/issues/3238)
10+
* Brings a custom [build-context](https://docs.docker.com/build/building/context/) processor
11+
* Works more efficient and reliable than the default implementation (however likely still not perfect)
12+
* uses ``.gitignore`` if available
13+
* Allows to adding custom ignores
14+
* 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)
15+
* Makes logger non generic and therefore controllable
16+
* Cleaned up some code
17+
18+
A common use case - that can also be seen [inside the demo](./testcontainers-java-advanced-imagebuilder-demo/src/main/java/software/xdev/Application.java) - is for creating an image - used in e.g. Integration tests - for an application that is also inside the same repo.
719

820
## Installation
921
[Installation guide for the latest release](https://github.com/xdev-software/testcontainers-java-advanced-imagebuilder/releases/latest#Installation)

testcontainers-java-advanced-imagebuilder/src/main/java/software/xdev/testcontainers/imagebuilder/AdvancedImageFromDockerFile.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,7 @@
6767
* <ul>
6868
* <li><a href="https://github.com/testcontainers/testcontainers-java/issues/3093">testcontainers-java#3093</a></li>
6969
* <li><a href="https://github.com/testcontainers/testcontainers-java/issues/3238">testcontainers-java#3238</a></li>
70-
* <li>
71-
* Testcontainers internal .dockerignore processor is completely broken: slow (needs ~30s) and misses files -
72-
* Use own/.gitignore processor (still not perfect but doesn't miss files and runs within 5s).
73-
* See {@link TransferFilesCreator} for details.
74-
* </li>
70+
* <li>{@link TransferFilesCreator}</li>
7571
* <li>Fixed: Logger was not controllable (because it was generic)</li>
7672
* <li>Deprecated-Stuff replaced / removed</li>
7773
* </ul>

0 commit comments

Comments
 (0)