From 05f39af5bd716ce8d02a41e5c0aa1a2d632dab07 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Fri, 25 Jun 2021 10:02:34 -0400 Subject: Bump github.com/containers/storage from 1.32.3 to 1.32.5 Bumps [github.com/containers/storage](https://github.com/containers/storage) from 1.32.3 to 1.32.5. - [Release notes](https://github.com/containers/storage/releases) - [Changelog](https://github.com/containers/storage/blob/main/docs/containers-storage-changes.md) - [Commits](https://github.com/containers/storage/compare/v1.32.3...v1.32.5) --- updated-dependencies: - dependency-name: github.com/containers/storage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: Daniel J Walsh --- pkg/api/handlers/compat/images_build.go | 2 ++ pkg/bindings/images/build.go | 3 +++ 2 files changed, 5 insertions(+) (limited to 'pkg') diff --git a/pkg/api/handlers/compat/images_build.go b/pkg/api/handlers/compat/images_build.go index e933b9811..64805b7fa 100644 --- a/pkg/api/handlers/compat/images_build.go +++ b/pkg/api/handlers/compat/images_build.go @@ -106,6 +106,7 @@ func BuildImage(w http.ResponseWriter, r *http.Request) { Quiet bool `schema:"q"` Registry string `schema:"registry"` Rm bool `schema:"rm"` + RusageLogFile string `schema:"rusagelogfile"` Seccomp string `schema:"seccomp"` SecurityOpt string `schema:"securityopt"` ShmSize int `schema:"shmsize"` @@ -463,6 +464,7 @@ func BuildImage(w http.ResponseWriter, r *http.Request) { Registry: registry, RemoveIntermediateCtrs: query.Rm, ReportWriter: reporter, + RusageLogFile: query.RusageLogFile, Squash: query.Squash, Target: query.Target, SystemContext: &types.SystemContext{ diff --git a/pkg/bindings/images/build.go b/pkg/bindings/images/build.go index 937d05330..95d9d4df7 100644 --- a/pkg/bindings/images/build.go +++ b/pkg/bindings/images/build.go @@ -178,6 +178,9 @@ func Build(ctx context.Context, containerFiles []string, options entities.BuildO if options.LogRusage { params.Set("rusage", "1") } + if len(options.RusageLogFile) > 0 { + params.Set("rusagelogfile", options.RusageLogFile) + } if len(options.Manifest) > 0 { params.Set("manifest", options.Manifest) } -- cgit v1.2.3-54-g00ecf