Docker build Fails

Hi,

I tried to build a docker image from the latest source code from Repo as on 28 May 2022. I get the following error :

looks like docker file needs any update or let me know if i am missing some docker setup.

 => ERROR [go-builder 14/14] RUN make build-go                                                                                                                                                         3.1s
------                                                                                                                                                                                                      
 > [go-builder 14/14] RUN make build-go:                                                                                                                                                                    
#32 2.793 docker run --rm -it \                                                                                                                                                                             
#32 2.793 -e GOPATH=/root/go:/go \                                                                                                                                                                          
#32 2.793 -e SWAGGER_GENERATE_EXTENSION=false \                                                                                                                                                             
#32 2.793 -v /root/go:/go \                                                                                                                                                                                 
#32 2.793 -v $(pwd):/grafana \
#32 2.793 -w $(pwd)/pkg/api/docs quay.io/goswagger/swagger:latest \
#32 2.793 generate spec -m -o /grafana/public/api-spec.json \
#32 2.793 -w /grafana/pkg/server \
#32 2.793 -x "grafana/grafana/pkg/services/ngalert/api/tooling/definitions" \
#32 2.793 -x "github.com/prometheus/alertmanager" \
#32 2.793 -i /grafana/pkg/api/docs/tags.json
#32 2.795 /bin/sh: docker: not found
#32 2.796 make: *** [Makefile:41: public/api-spec.json] Error 127
------
executor failed running [/bin/sh -c make build-go]: exit code: 2

what exact commands did you use? go version? os? etc etc etc

The latest version 9.0.0.pre, was trying the build on Mac M1

docker buildx build --platform linux/amd64 -t grafana --load .