buildargs: JSON map of string pairs, equivalent to --build-arg when calling docker build
authstr: The base64 encoded auth string, more detail here
Fix bugs:
Failed to get Dockerfile content in the tar file. This is caused by the calling of http.Request.FormValue in golang. The FormValue method will parse the body as form, so the body is no longer kept in binary.
Response 'Empty dockerfile' error when pass a single Dockerfile to build API. This is caused by calling http.Request.Body(which is io.Reader) twice.
Add more args when calling assembling build:
--build-arg
when callingdocker build
Fix bugs:
Dockerfile
content in the tar file. This is caused by the calling of http.Request.FormValue in golang. The FormValue method will parse the body as form, so the body is no longer kept in binary.