mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
Initial podman build
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com> Closes: #162 Approved by: rhatdan
This commit is contained in:

committed by
Atomic Bot

parent
7f531263e6
commit
ea5620182f
@ -684,6 +684,48 @@ _podman_commit() {
|
||||
esac
|
||||
}
|
||||
|
||||
_podman_build() {
|
||||
local boolean_options="
|
||||
--build
|
||||
--help
|
||||
-h
|
||||
--pull
|
||||
--pull-always
|
||||
--quiet
|
||||
-q
|
||||
--tls-verify
|
||||
"
|
||||
|
||||
local options_with_args="
|
||||
--signature-policy
|
||||
--runtime
|
||||
--runtime-flag
|
||||
--tag
|
||||
-t
|
||||
--file
|
||||
-f
|
||||
--build-arg
|
||||
--format
|
||||
"
|
||||
|
||||
local all_options="$options_with_args $boolean_options"
|
||||
|
||||
case "$prev" in
|
||||
--runtime)
|
||||
COMPREPLY=($(compgen -W 'runc runv' -- "$cur"))
|
||||
;;
|
||||
$(__buildah_to_extglob "$options_with_args"))
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$cur" in
|
||||
-*)
|
||||
COMPREPLY=($(compgen -W "$boolean_options $options_with_args" -- "$cur"))
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
_podman_diff() {
|
||||
local options_with_args="
|
||||
--format
|
||||
@ -1481,6 +1523,7 @@ _podman_podman() {
|
||||
"
|
||||
commands="
|
||||
attach
|
||||
build
|
||||
commit
|
||||
create
|
||||
diff
|
||||
|
Reference in New Issue
Block a user