Merge pull request #26 from tiborvass/fix-network-flag-bug

build: do not error out if --network is default
This commit is contained in:
Tibor Vass 2019-04-16 17:09:22 -07:00 committed by GitHub
commit 037af0e3dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,7 +71,7 @@ func runBuild(dockerCli command.Cli, in buildOptions) error {
if in.quiet {
return errors.Errorf("quiet currently not implemented")
}
if in.networkMode != "" {
if in.networkMode != "default" {
return errors.Errorf("network currently not implemented")
}
if in.imageIDFile != "" {