fix: Add vendored dependencies to Dockerfile (#78285)

Add vendored dependencies to Dockerfile
This commit is contained in:
Xavi Lacasa
2023-11-17 17:38:46 +01:00
committed by GitHub
parent 893839d27b
commit 31dbf57aef
+3
View File
@@ -48,6 +48,9 @@ WORKDIR /tmp/grafana
COPY go.* ./
COPY .bingo .bingo
# Include vendored dependencies
COPY pkg/util/xorm/go.* pkg/util/xorm/
RUN go mod download
RUN if [[ "$BINGO" = "true" ]]; then \
go install github.com/bwplotka/bingo@latest && \