mirror of
https://github.com/grafana/grafana.git
synced 2024-11-21 16:38:03 -06:00
fix: Add vendored dependencies to Dockerfile (#78285)
Add vendored dependencies to Dockerfile
This commit is contained in:
parent
893839d27b
commit
31dbf57aef
@ -48,6 +48,9 @@ WORKDIR /tmp/grafana
|
|||||||
COPY go.* ./
|
COPY go.* ./
|
||||||
COPY .bingo .bingo
|
COPY .bingo .bingo
|
||||||
|
|
||||||
|
# Include vendored dependencies
|
||||||
|
COPY pkg/util/xorm/go.* pkg/util/xorm/
|
||||||
|
|
||||||
RUN go mod download
|
RUN go mod download
|
||||||
RUN if [[ "$BINGO" = "true" ]]; then \
|
RUN if [[ "$BINGO" = "true" ]]; then \
|
||||||
go install github.com/bwplotka/bingo@latest && \
|
go install github.com/bwplotka/bingo@latest && \
|
||||||
|
Loading…
Reference in New Issue
Block a user