mirror of
https://github.com/containers/podman.git
synced 2025-12-02 19:28:58 +08:00
Support pulling Dockerfile from http
Currently podman build http://remote.com/Dockerfile does not work. podman always treats this file as an Archive. Vendoring in the latest buildah code fixes this issue. Also updated the man pages to better explain the syntax. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #775 Approved by: TomSweeneyRedHat
This commit is contained in:
committed by
Atomic Bot
parent
1aaf8df5be
commit
9fcc475d03
4
vendor/github.com/projectatomic/buildah/pkg/parse/parse.go
generated
vendored
4
vendor/github.com/projectatomic/buildah/pkg/parse/parse.go
generated
vendored
@@ -180,9 +180,9 @@ func validateVolumeOpts(option string) error {
|
||||
return errors.Errorf("invalid options %q, can only specify 1 'z' or 'Z' option", option)
|
||||
}
|
||||
foundLabelChange++
|
||||
case "private", "rprivate", "shared", "rshared", "slave", "rslave":
|
||||
case "private", "rprivate", "shared", "rshared", "slave", "rslave", "unbindable", "runbindable":
|
||||
if foundRootPropagation > 1 {
|
||||
return errors.Errorf("invalid options %q, can only specify 1 '[r]shared', '[r]private' or '[r]slave' option", option)
|
||||
return errors.Errorf("invalid options %q, can only specify 1 '[r]shared', '[r]private', '[r]slave' or '[r]unbindable' option", option)
|
||||
}
|
||||
foundRootPropagation++
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user