diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-03-17 18:28:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-17 18:28:24 +0100 |
commit | e59f71d230cf5435dc569add90e22cc644e38647 (patch) | |
tree | 44004f81258d123c70411cb05fe503ae72c056ed /pkg | |
parent | ecd2746ce36db6ebe5d99b26045f197cb136cd61 (diff) | |
parent | ff54aaa634f9b3fbcdc67ceff8ebcc9689ca0658 (diff) | |
download | podman-e59f71d230cf5435dc569add90e22cc644e38647.tar.gz podman-e59f71d230cf5435dc569add90e22cc644e38647.tar.bz2 podman-e59f71d230cf5435dc569add90e22cc644e38647.zip |
Merge pull request #13530 from vrothberg/fix-13529
podman create: building local pause image: do not read ignore files
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/specgen/generate/pod_create.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/specgen/generate/pod_create.go b/pkg/specgen/generate/pod_create.go index 8450fe7ce..ba823f3a8 100644 --- a/pkg/specgen/generate/pod_create.go +++ b/pkg/specgen/generate/pod_create.go @@ -56,6 +56,7 @@ ENTRYPOINT ["/catatonit", "-P"]`, catatonitPath) CommonBuildOpts: &buildahDefine.CommonBuildOptions{}, Output: imageName, Quiet: true, + IgnoreFile: "/dev/null", // makes sure to not read a local .ignorefile (see #13529) IIDFile: "/dev/null", // prevents Buildah from writing the ID on stdout } if _, _, err := rt.Build(context.Background(), buildOptions, tmpF.Name()); err != nil { |