You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/bug_report.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,9 @@ body:
15
15
attributes:
16
16
label: "Checklist"
17
17
options:
18
-
- label: "I am able to reproduce the bug with the [latest version](https://github.com/xdev-software/template-placeholder/releases/latest)"
18
+
- label: "I am able to reproduce the bug with the [latest version](https://github.com/xdev-software/testcontainers-advanced-imagebuilder/releases/latest)"
19
19
required: true
20
-
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/template-placeholder/issues) or [closed](https://github.com/xdev-software/template-placeholder/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
20
+
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/testcontainers-advanced-imagebuilder/issues) or [closed](https://github.com/xdev-software/testcontainers-advanced-imagebuilder/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
21
21
required: true
22
22
- label: "I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise."
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/enhancement.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ body:
13
13
attributes:
14
14
label: "Checklist"
15
15
options:
16
-
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/template-placeholder/issues) or [closed](https://github.com/xdev-software/template-placeholder/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
16
+
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/testcontainers-advanced-imagebuilder/issues) or [closed](https://github.com/xdev-software/testcontainers-advanced-imagebuilder/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
17
17
required: true
18
18
- label: "I have taken the time to fill in all the required details. I understand that the feature request will be dismissed otherwise."
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/question.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ body:
12
12
attributes:
13
13
label: "Checklist"
14
14
options:
15
-
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/template-placeholder/issues) or [closed](https://github.com/xdev-software/template-placeholder/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
15
+
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/testcontainers-advanced-imagebuilder/issues) or [closed](https://github.com/xdev-software/testcontainers-advanced-imagebuilder/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
16
16
required: true
17
17
- label: "I have taken the time to fill in all the required details. I understand that the question will be dismissed otherwise."
* Added an explicit option for enabling the Windows NTFS junction fix: ``useWinNTFSJunctionFixIfApplicable``#155
3
+
* Enabling it also requires adding ``--add-exports java.base/sun.nio.fs=ALL-UNNAMED`` or performance will be impacted by ~20x due to non-accessible file attributes cache
4
+
* This option is temporary and will be removed once the [underlying JDK bug](https://bugs.openjdk.org/browse/JDK-8364277) was fixed
5
+
* The default logger of ``AdvancedImageFromDockerFile`` now also includes ``dockerImageName`` to make it easier to distinguish between parallel builds
6
+
7
+
# 2.1.1
8
+
* Addresses a JDK bug which results in a crash or "infinite" loop when encountering recursive NTFS junctions on Windows #155
9
+
10
+
# 2.1.0
11
+
* Add customizer for ``TransferArchiveTARCompressor``
12
+
* Create more predefined FileContentModifiers
13
+
* This allows to e.g. remove not needed Maven modules when building
14
+
15
+
# 2.0.2
16
+
* Don't try to pull reserved ``scratch`` image during build
17
+
18
+
# 2.0.1
19
+
* Improve matching in ``DockerfileCOPYParentsEmulator``#134
20
+
* Now should properly handle ``./``
21
+
22
+
# 2.0.0
23
+
* Changed ignore backend to utilize [JGit](https://github.com/eclipse-jgit/jgit)
24
+
* This should now behave exactly like a ``.gitignore``
25
+
* Overall performance should be a lot faster
26
+
* Make it possible to modify transferred files
27
+
* Provide an option to emulate [``COPY --parents``](https://docs.docker.com/reference/dockerfile/#copy---parents) using ``DockerfileCOPYParentsEmulator`` (which is currently not supported by Docker out of the box)
28
+
* This option is required to utilize Docker's cache properly
29
+
```docker
30
+
# syntax=docker/dockerfile:1-labs
31
+
# ...
32
+
33
+
# Copy & Cache wrapper
34
+
COPY --parents mvnw .mvn/** ./
35
+
RUN ./mvnw --version
36
+
37
+
# Copy & Cache poms/dependencies
38
+
COPY --parents **/pom.xml ./
39
+
# Resolve jars so that they can be cached and don't need to be downloaded when a Java file changes
40
+
RUN ./mvnw -B dependency:go-offline -pl app -am -DincludeScope=runtime -T2C
41
+
42
+
# Copying all other files
43
+
COPY . ./
44
+
# Run the actual build
45
+
RUN ./mvnw -B clean package -pl app -am -T2C -Dmaven.test.skip
46
+
```
47
+
* At ton of minor optimizations and improvements
48
+
49
+
# 1.2.0
50
+
* Provide an option to always transfer specific paths
51
+
* Always transfer Dockerfile - as it is required for building - by default
52
+
53
+
# 1.1.1
54
+
* Migrated deployment to _Sonatype Maven Central Portal_ [#155](https://github.com/xdev-software/standard-maven-template/issues/155)
* Consider doing a [test-deployment](https://github.com/xdev-software/template-placeholder/actions/workflows/test-deploy.yml?query=branch%3Adevelop) before actually releasing.
40
+
* Consider doing a [test-deployment](https://github.com/xdev-software/testcontainers-advanced-imagebuilder/actions/workflows/test-deploy.yml?query=branch%3Adevelop) before actually releasing.
41
41
* Check the [changelog](CHANGELOG.md)
42
42
43
43
If the ``develop`` is ready for release, create a pull request to the ``master``-Branch and merge the changes
A re-implementation of [Testcontainers Image-Builder](https://java.testcontainers.org/features/creating_images/) with the following improvements:
7
+
* Allows passing a custom logger to the image build - [testcontainers-java#3093](https://github.com/testcontainers/testcontainers-java/issues/3093)
8
+
* Allows using ``ARG``s for ``FROM`` - [testcontainers-java#3238](https://github.com/testcontainers/testcontainers-java/issues/3238)
9
+
* Brings a custom [build-context](https://docs.docker.com/build/building/context/) processor
10
+
* Works more efficient and reliable than the default implementation because it utilizes [JGit](https://github.com/eclipse-jgit/jgit)
11
+
* uses the ``.gitignore`` if available
12
+
* Allows adding custom ignores
13
+
* 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)
14
+
* Makes it possible to modify files that are transferred
15
+
* Provide a compatibility layer to emulate [``COPY --parents``](https://docs.docker.com/reference/dockerfile/#copy---parents) (which is currently not supported by Docker out of the box)
16
+
* Do not pull images that are declared inside the Dockerfile
17
+
* Makes logger non generic and therefore controllable
18
+
* Some general code cleanup and performance improvements
19
+
20
+
For more details have a look at [the demo](./testcontainers-advanced-imagebuilder-demo/src/main/java/software/xdev/Application.java).<br/>The demo showcases how an image for another application in the same repo can be built.
6
21
7
22
## Installation
8
-
[Installation guide for the latest release](https://github.com/xdev-software/template-placeholder/releases/latest#Installation)
23
+
[Installation guide for the latest release](https://github.com/xdev-software/testcontainers-advanced-imagebuilder/releases/latest#Installation)
9
24
10
25
## Support
11
26
If you need support as soon as possible and you can't wait for any pull request, feel free to use [our support](https://xdev.software/en/services/support).
@@ -14,4 +29,6 @@ If you need support as soon as possible and you can't wait for any pull request,
14
29
See the [contributing guide](./CONTRIBUTING.md) for detailed instructions on how to get started with our project.
15
30
16
31
## Dependencies and Licenses
17
-
View the [license of the current project](LICENSE) or the [summary including all dependencies](https://xdev-software.github.io/template-placeholder/dependencies)
32
+
View the [license of the current project](LICENSE) or the [summary including all dependencies](https://xdev-software.github.io/testcontainers-advanced-imagebuilder/dependencies)
33
+
34
+
<sub>Disclaimer: This is not an official Testcontainers product and not associated</sub>
0 commit comments