Hello,
I am trying to build the docker image for lakefs locally and running into the following error:
RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/go/pkg GOOS=linux GOARCH=amd64 go build -ldflags "-X
github.com/treeverse/lakefs/pkg/version.Version=dev" -o lakefs ./cmd/lakefs:
#0 0.818 webui/content.go
712: pattern dist: no matching files found
------
Dockerfile:34
--------------------
33 | ARG TARGETOS TARGETARCH
34 | >>> RUN --mount=type=cache,target=/root/.cache/go-build \
35 | >>> --mount=type=cache,target=/go/pkg \
36 | >>> GOOS=$TARGETOS GOARCH=$TARGETARCH \
37 | >>> go build -ldflags "-X
github.com/treeverse/lakefs/pkg/version.Version=${VERSION}" -o lakefs ./cmd/lakefs
38 | RUN --mount=type=cache,target=/root/.cache/go-build \
--------------------
ERROR: failed to solve: process "/bin/sh -c GOOS=$TARGETOS GOARCH=$TARGETARCH go build -ldflags \"-X
github.com/treeverse/lakefs/pkg/version.Version=${VERSION}\" -o lakefs ./cmd/lakefs" did not complete successfully: exit code: 1
I have WSL running on a windows instance. Sorry if this is the wrong place to ask. Really appreciate any support. Thank you!