Hi,
I’m trying to build docker image from latest source code ( #52420) currently)
and I got following error, Is that mean I need to install some go modules or sth ?
failed to compute cache key: "/cue" not found: not found
make: *** [build-docker-full] Error 1
full log :
make build-docker-full
build docker container
docker build --tag grafana/grafana:dev .
[+] Building 2.4s (25/49)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 37B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 35B 0.0s
=> [internal] load metadata for docker.io/library/alpine:3.15 1.7s
=> [internal] load metadata for docker.io/library/node:16-alpine3.15 1.8s
=> [internal] load metadata for docker.io/library/golang:1.17.12-alpine3.15 1.8s
=> [auth] library/alpine:pull token for registry-1.docker.io 0.0s
=> [auth] library/golang:pull token for registry-1.docker.io 0.0s
=> [auth] library/node:pull token for registry-1.docker.io 0.0s
=> [internal] load build context 0.5s
=> => transferring context: 1.08MB 0.5s
=> CANCELED [go-builder 1/14] FROM docker.io/library/golang:1.17.12-alpine3.15@sha256:50d232dc45a3e846d36b20f3312cc7b893354b9451038108826d988b92dcfd4d 0.5s
=> => resolve docker.io/library/golang:1.17.12-alpine3.15@sha256:50d232dc45a3e846d36b20f3312cc7b893354b9451038108826d988b92dcfd4d 0.0s
=> => sha256:e530ab5b7323d6d3be5ad921da98e981180263d95d9fc0d3adc109891462250f 1.36kB / 1.36kB 0.0s
=> => sha256:28715183cf3046915785a04ef0232b032bec02363fb5aa67f4ff9b12a5487019 5.25kB / 5.25kB 0.0s
=> => sha256:bf1a8f2ddd1b017a1aa5ebc3de14f30c9e178fd6a6410facbd269d4051a3b2de 271.76kB / 271.76kB 0.3s
=> => sha256:8a6f4eac29ba61aa682d02d699902c484230d49bf27180380c1738e2d1484f8a 0B / 155B 0.5s
=> => sha256:67b6d5075bc797830bc5edb12978712b3530cc97ed484ea60c2e0d53eae12eee 0B / 104.14MB 0.5s
=> => sha256:50d232dc45a3e846d36b20f3312cc7b893354b9451038108826d988b92dcfd4d 1.65kB / 1.65kB 0.0s
=> => extracting sha256:bf1a8f2ddd1b017a1aa5ebc3de14f30c9e178fd6a6410facbd269d4051a3b2de 0.1s
=> => sha256:386291b2bcca97c34670c6cad52d968d28d70262d66e0aadcafad3a4b385616b 0B / 125B 0.5s
=> [stage-2 1/13] FROM docker.io/library/alpine:3.15@sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a 0.0s
=> [js-builder 1/13] FROM docker.io/library/node:16-alpine3.15@sha256:3cc4a16286bc01e141dcfec735f3ebfaf8bdb6ab7ff216f9a7073bd08cee1fa7 0.0s
=> CACHED [stage-2 2/13] WORKDIR /usr/share/grafana 0.0s
=> CACHED [stage-2 3/13] RUN apk add --no-cache ca-certificates bash tzdata musl-utils 0.0s
=> CACHED [stage-2 4/13] RUN apk add --no-cache openssl ncurses-libs ncurses-terminfo-base --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main 0.0s
=> CACHED [stage-2 5/13] RUN apk upgrade ncurses-libs ncurses-terminfo-base --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main 0.0s
=> CACHED [stage-2 6/13] RUN apk info -vv | sort 0.0s
=> CACHED [go-builder 2/14] RUN apk add --no-cache gcc g++ make 0.0s
=> CACHED [go-builder 3/14] WORKDIR /grafana 0.0s
=> CACHED [go-builder 4/14] COPY go.mod go.sum embed.go Makefile build.go package.json ./ 0.0s
=> ERROR [go-builder 5/14] COPY cue cue 0.0s
=> CANCELED [stage-2 7/13] COPY conf ./conf 0.0s
=> CACHED [js-builder 2/13] WORKDIR /grafana 0.0s
=> CACHED [js-builder 3/13] COPY package.json yarn.lock .yarnrc.yml ./ 0.0s
=> CANCELED [js-builder 4/13] COPY .yarn .yarn 0.0s
------
> [go-builder 5/14] COPY cue cue:
------
failed to compute cache key: "/cue" not found: not found
make: *** [build-docker-full] Error 1