Skip to content

Commit f05caa9

Browse files
aledbfclaude
andcommitted
docs: record build --label on Dockerfile configs and Podman SELinux
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent a0591af commit f05caa9

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

‎docs/DIVERGENCES.md‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,12 @@ upstream issue it fixes.
170170
(upstream #930). This CLI applies the labels with one more build, `FROM <image>`, tagged
171171
with the `--image-name` values or, without them, the image's own name
172172
(`TestE2E_ComposeBuildLabel`, `internal/cli/e2e_fixes_test.go`).
173+
- **`build --label` applies to a Dockerfile configuration.** TS passes `--label` only to
174+
the build that extends an image configuration with Features (`updateImage`); the single
175+
`docker build` of a Dockerfile configuration (`buildAndExtendImage`) drops it without a
176+
word. This CLI passes each `--label` to that build, as it does for an image and for a
177+
Docker Compose configuration, so that `--label` never goes unapplied without a word
178+
(`TestBuildDockerfileBuildFlags`, `internal/cli/dockerfile_build_held_test.go`).
173179
- **`features generate-docs` and `templates generate-docs` document the folders they are
174180
given.** TS takes every entry of the project folder as an item folder: pointed at a
175181
single Feature or Template folder it looks for metadata under each of its files and
@@ -226,7 +232,11 @@ upstream issue it fixes.
226232
runtime/E2E/release/`windows-latest`/ConPTY lane. The `platform="win32"` logic is kept
227233
solely for parity with the oracle. (arm64 runtime is validated via a non-gating,
228234
QEMU-emulated experimental job.)
229-
- **Runtime: Docker only.** Podman is not supported (no parity guarantee or test).
235+
- **Runtime: Docker only.** Podman is not supported (no parity guarantee or test). TS's
236+
Podman-only behavior is not implemented, among it `--security-opt label=disable` on a
237+
build with BuildKit build contexts when `getenforce` is not `Disabled` and `podman info`
238+
reports SELinux enabled (`isUsingSELinuxLabels`), and `--security-opt label=disable`
239+
and `--userns=keep-id` on `podman run`. With Docker, TS adds neither.
230240
- **Compose: v2 only** (`docker compose`). Compose v1 (`docker-compose`) is not supported.
231241
- **`exec`: inherited terminal** (`docker exec -it` inherits the controlling terminal),
232242
no self-managed PTY. The 128+N contract comes from the child process. Interactive

0 commit comments

Comments
 (0)