Some Dockerfiles require you to set build arguments. You may set them in your job definition like this:
{
"version": 1,
"jobs":[{
"type": "docker",
...
"build_arguments": {
"ARG1": "some value",
"SOME_OTHER_ATH": "some other value"
}
}]
See also the documentation for build arguments.