Skip to content

Commit e0ce303

Browse files
committed
Updated docs
1 parent 6a8c159 commit e0ce303

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

testcontainers-advanced-imagebuilder/src/main/java/software/xdev/testcontainers/imagebuilder/compat/DockerfileCOPYParentsEmulator.java

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,37 @@
2525

2626

2727
/**
28-
* Emulates <a href="https://docs.docker.com/reference/dockerfile/#copy---parents">COPY --parents</a>
28+
* Emulates <a href="https://docs.docker.com/reference/dockerfile/#copy---parents">COPY --parents</a>.
29+
* <p>
30+
* This flag currently (as of 2025-06) requires an experimental version of the Dockerfile syntax,
31+
* which can only used with BuildKit.
32+
* </p>
33+
* <p>
34+
* BuildKit is not available due to multiple problems:
35+
* <ul>
36+
* <li>
37+
* Missing in testcontainers:
38+
* <a href="https://github.com/testcontainers/testcontainers-java/issues/2857">testcontainers-java#2857</a>
39+
* </li>
40+
* <li>
41+
* Missing in upstream docker-java:
42+
* <a href="https://github.com/docker-java/docker-java/issues/2361">docker-java#2361</a>
43+
* </li>
44+
* <li>
45+
* Build API is broken in multiple places:
46+
* <ul>
47+
* <li>
48+
* Always requires to start a session:
49+
* <a href="https://github.com/moby/moby/issues/48112">moby#48112</a>
50+
* </li>
51+
* <li>
52+
* Does not expose BuildKit exporters:
53+
* <a href="https://github.com/moby/moby/issues/50216">moby#50216</a>
54+
* </li>
55+
* </ul>
56+
* </li>
57+
* </ul>
58+
* </p>
2959
*/
3060
@SuppressWarnings("java:S1075")
3161
public class DockerfileCOPYParentsEmulator implements DockerFileLineModifier

0 commit comments

Comments
 (0)