Error with docker build: unrecognized import path "go.buf.build/grpc/go/prometheus/prometheus"

I am trying to build a docker image but it failed with the following error:
k6 imports
go.k6.io/k6/cmd imports
github.com/grafana/xk6-output-prometheus-remote/pkg/remotewrite imports
go.buf.build/grpc/go/prometheus/prometheus: unrecognized import path “go.buf.build/grpc/go/prometheus/prometheus”: https fetch: Get “https://go.buf.build/grpc/go/prometheus/prometheus?go-get=1”: dial tcp: lookup go.buf.build on XXX.XXX.XX.X:XX: read udp XXX.XX.X.X:XXXXX->XXX.XXX.XX.X:XX: i/o timeout
[INFO] Cleaning up temporary folder: /tmp/buildenv_2023-08-04-XXXXXXXX
[FATAL] exit status 1

executor failed running [/bin/sh -c apk --no-cache add build-base git && go install go.k6.io/xk6/cmd/xk6@v0.9.2 && CGO_ENABLED=1 xk6 build --with GitHub - grafana/xk6-sql: k6 extension to load test RDBMSs (PostgreSQL, MySQL, MS SQL and SQLite3) --output /tmp/k6]: exit code: 1

Dockerfile is like this right now:

Hi @kkk1! We’ve had multiple reports of the issue. Please follow the topic at Unable to build custom k6 binary with extensions .

Hi @kkk1

A patch version v0.45.1 was released.

Thanks for reporting this.

Cheers!