diff --git a/Dockerfile b/Dockerfile index 36640796a1a..15a9e2966e0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,6 +25,8 @@ WORKDIR $GOPATH/src/github.com/grafana/grafana COPY go.mod go.sum embed.go ./ COPY cue cue +COPY cue.mod cue.mod +COPY packages/grafana-schema packages/grafana-schema COPY public/app/plugins public/app/plugins COPY pkg pkg COPY build.go package.json ./ diff --git a/Dockerfile.ubuntu b/Dockerfile.ubuntu index 7ae064b6656..6552a6222fd 100644 --- a/Dockerfile.ubuntu +++ b/Dockerfile.ubuntu @@ -25,6 +25,8 @@ COPY go.mod go.sum embed.go ./ COPY build.go package.json ./ COPY pkg pkg/ COPY cue cue/ +COPY cue.mod cue.mod/ +COPY packages/grafana-schema packages/grafana-schema/ COPY public/app/plugins public/app/plugins/ RUN go mod verify