I can get round the issue by using ``` dockerfile...
# general
b
I can get round the issue by using
Copy code
dockerfile(
    sources=globs('Dockerfile')
)
but I’m hoping to get some understanding on how to set up defaults correctly
e
Not sure, pattern-matching here alone, but in your gist you construct a raw Payload instead of taking the one passed in to the constructor, if any. This goes against other examples.
Also, although I'm sure it's not related, watch out for the OSX HFSism of head. Should be HEAD but of course you can get away with it on standard OSX setups.