mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-13 01:17:39 +00:00
When `podman-remote` tars the context, extra `podman-build-secret*` paths were
either dropped by `.dockerignore` (#25314) or archived as absolute paths so
`COPY . .` pulled host-shaped trees into the image (#28334).
Use relative names under the primary context for extra sources and do not apply
`.dockerignore` to those forced entries.
Fixes: https://github.com/containers/podman/issues/25314
Fixes: https://github.com/containers/podman/issues/28334
Signed-off-by: Jan Rodák <hony.com@seznam.cz>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| build.go | ||
| build_test.go | ||
| build_unix.go | ||
| build_windows.go | ||
| diff.go | ||
| images.go | ||
| pull.go | ||
| push.go | ||
| rm.go | ||
| types.go | ||
| types_diff_options.go | ||
| types_exists_options.go | ||
| types_export_options.go | ||
| types_get_options.go | ||
| types_history_options.go | ||
| types_import_options.go | ||
| types_list_options.go | ||
| types_load_options.go | ||
| types_prune_options.go | ||
| types_pull_options.go | ||
| types_push_options.go | ||
| types_remove_options.go | ||
| types_scp_options.go | ||
| types_search_options.go | ||
| types_tag_options.go | ||
| types_tree_options.go | ||
| types_untag_options.go | ||