go-plugins-helpers icon indicating copy to clipboard operation
go-plugins-helpers copied to clipboard

authorization: POST build, the RequestBody is empty

Open CodyGuo opened this issue 6 years ago • 1 comments

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 ?

CodyGuo avatar Sep 12 '19 08:09 CodyGuo

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.

voliveirajr avatar Sep 22 '21 10:09 voliveirajr