oc is missing the ability to create a bare minimum build.
Verified in version:
$ ./oc version
Client Version: 4.5.0-0.nightly-2020-04-21-103613
$ ./oc create build test-build --dockerfile-contents $'FROM centos:7\nRUN true' --to-image-stream=wewang/test:latest
$ oc get builds
test-build Docker Dockerfile Complete 29 seconds ago 28s
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.