go-plugins-helpers
go-plugins-helpers copied to clipboard
authorization: POST build, the RequestBody is empty
github.com/docker/go-plugins-helpers/authorization
req.RequestBody is empty
method: POST, url: /v1.40/build?buildargs={}&cachefrom=[]&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=file/Dockerfile&labels={}&memory=0&memswap=0&networkmode=default&rm=1&shmsize=0&t=netdata:1.6&target=&ulimits=null&version=1, RequestBody: , ResponseBody: , RequestHeaders: map[Content-Type:application/x-tar User-Agent:Docker-Client/19.03.1 (linux)]
How can I get the contents in Dockerfile ?
Having the same issue, the path always come "dockerfile" independent from where is reading and the body is always coming empty. I need to find a way to open the file and scan the content of Dockerfile to build.