spiegel_podman/pkg/bindings/images
Daniel J Walsh c9970647ba
podman-remote build use .containerignore over .dockerignore
$ mkdir zzz;cd zzz
$ printf "FROM quay.io/libpod/testimage:20210610\nCOPY ./ ./\nCOPY subdir ./\n" >Dockerfile
$ printf "*\nsubdir\n\!*/sub1*\n" >.dockerignore
$ mkdir subdir; touch subdir/sub1.txt
$ ../bin/podman-remote build .

Should fail, but succeeds because we are not sending over the
.dockerignore file to the server side.  This PR will send the
.dockerignore so the server side and use it.

Fixes: #10907

Also if both .containerignore and .dockerignore in the context
directory, podman-remote should prefer .containerignore and not use
.dockerignore.

Fixes: #10908

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-07-14 20:22:51 -04:00
..
build.go podman-remote build use .containerignore over .dockerignore 2021-07-14 20:22:51 -04:00
build_test.go build: improve regex for iidfile 2021-05-06 11:33:59 +02:00
build_unix.go Handle hard links in remote builds 2021-05-22 05:27:03 -04:00
build_windows.go Handle hard links in remote builds 2021-05-22 05:27:03 -04:00
diff.go bump go module to v3 2021-02-22 09:03:51 +01:00
images.go [NO TESTS NEEDED] Shrink the size of podman-remote 2021-03-29 09:49:45 -04:00
pull.go create: support images with invalid platform 2021-06-23 15:42:13 +02:00
rm.go [NO TESTS NEEDED] Shrink the size of podman-remote 2021-03-29 09:49:45 -04:00
types.go podman diff accept two images or containers 2021-07-02 17:11:56 +02:00
types_diff_options.go podman diff accept two images or containers 2021-07-02 17:11:56 +02:00
types_exists_options.go [NO TESTS NEEDED] Make binding util internal 2021-02-22 14:35:03 +01:00
types_export_options.go [NO TESTS NEEDED] Make binding util internal 2021-02-22 14:35:03 +01:00
types_get_options.go [NO TESTS NEEDED] Make binding util internal 2021-02-22 14:35:03 +01:00
types_history_options.go [NO TESTS NEEDED] Make binding util internal 2021-02-22 14:35:03 +01:00
types_import_options.go [NO TESTS NEEDED] Make binding util internal 2021-02-22 14:35:03 +01:00
types_list_options.go [NO TESTS NEEDED] Make binding util internal 2021-02-22 14:35:03 +01:00
types_load_options.go [NO TESTS NEEDED] Make binding util internal 2021-02-22 14:35:03 +01:00
types_prune_options.go [NO TESTS NEEDED] Make binding util internal 2021-02-22 14:35:03 +01:00
types_pull_options.go create: support images with invalid platform 2021-06-23 15:42:13 +02:00
types_push_options.go [NO TESTS NEEDED] Make binding util internal 2021-02-22 14:35:03 +01:00
types_remove_options.go [NO TESTS NEEDED] Make binding util internal 2021-02-22 14:35:03 +01:00
types_search_options.go [NO TESTS NEEDED] Make binding util internal 2021-02-22 14:35:03 +01:00
types_tag_options.go [NO TESTS NEEDED] Make binding util internal 2021-02-22 14:35:03 +01:00
types_tree_options.go [NO TESTS NEEDED] Make binding util internal 2021-02-22 14:35:03 +01:00
types_untag_options.go [NO TESTS NEEDED] Make binding util internal 2021-02-22 14:35:03 +01:00