mirror of
https://github.com/containers/podman.git
synced 2026-08-07 04:43:04 -04:00
libpod/build: add headers
Add `headers` for `/libpod/build` Closes: https://github.com/containers/podman/issues/26440 Signed-off-by: flouthoc <flouthoc.git@gmail.com>
This commit is contained in:
1 file changed
+8
@@ -1487,6 +1487,14 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
|
||||
// summary: Create image
|
||||
// description: Build an image from the given Dockerfile(s)
|
||||
// parameters:
|
||||
// - in: header
|
||||
// name: Content-Type
|
||||
// type: string
|
||||
// default: application/x-tar
|
||||
// enum: ["application/x-tar"]
|
||||
// - in: header
|
||||
// name: X-Registry-Config
|
||||
// type: string
|
||||
// - in: query
|
||||
// name: dockerfile
|
||||
// type: string
|
||||
|
||||
Reference in new issue
Block a user