diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-09-23 17:59:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-23 17:59:37 -0400 |
commit | 9e2459569d35560dcb59654c404ea079229fbbe8 (patch) | |
tree | 52494a283da6a7302e061bf433b73c89bb84d06b /pkg | |
parent | 07274b86dc5ef634fcf96a295b5d9a6f1f22d8b8 (diff) | |
parent | d6f6767a594ad6fad9d4230cb1308251df844f25 (diff) | |
download | podman-9e2459569d35560dcb59654c404ea079229fbbe8.tar.gz podman-9e2459569d35560dcb59654c404ea079229fbbe8.tar.bz2 podman-9e2459569d35560dcb59654c404ea079229fbbe8.zip |
Merge pull request #11726 from baude/v3.4backportkubecontext
Set context dir for play kube build
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/domain/infra/abi/play.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/domain/infra/abi/play.go b/pkg/domain/infra/abi/play.go index 87506f70c..b32598126 100644 --- a/pkg/domain/infra/abi/play.go +++ b/pkg/domain/infra/abi/play.go @@ -435,6 +435,7 @@ func (ic *ContainerEngine) getImageAndLabelInfo(ctx context.Context, cwd string, buildOpts.Isolation = buildahDefine.IsolationChroot buildOpts.CommonBuildOpts = commonOpts buildOpts.Output = container.Image + buildOpts.ContextDirectory = filepath.Dir(buildFile) if _, _, err := ic.Libpod.Build(ctx, *buildOpts, []string{buildFile}...); err != nil { return nil, nil, err } |