mirror of https://github.com/grafana/grafana.git
fixes a series of problems with the Dockerfile (#97585)
This commit is contained in:
parent
9f75a448d4
commit
e002982cd7
|
@ -1,4 +1,3 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
|
||||
ARG BASE_IMAGE=alpine:3.20
|
||||
ARG JS_IMAGE=node:20-alpine
|
||||
|
@ -21,12 +20,13 @@ COPY plugins-bundled plugins-bundled
|
|||
COPY public public
|
||||
COPY LICENSE ./
|
||||
COPY conf/defaults.ini ./conf/defaults.ini
|
||||
COPY e2e e2e
|
||||
|
||||
RUN apk add --no-cache make build-base python3
|
||||
|
||||
RUN yarn install --immutable
|
||||
|
||||
COPY tsconfig.json .eslintrc .editorconfig .browserslistrc .prettierrc.js ./
|
||||
COPY tsconfig.json eslint.config.js .editorconfig .browserslistrc .prettierrc.js ./
|
||||
COPY scripts scripts
|
||||
COPY emails emails
|
||||
|
||||
|
@ -67,6 +67,8 @@ COPY pkg/storage/unified/apistore/go.* pkg/storage/unified/apistore/
|
|||
COPY pkg/semconv/go.* pkg/semconv/
|
||||
COPY pkg/aggregator/go.* pkg/aggregator/
|
||||
COPY apps/playlist/go.* apps/playlist/
|
||||
COPY apps apps
|
||||
COPY kindsv2 kindsv2
|
||||
|
||||
RUN go mod download
|
||||
RUN if [[ "$BINGO" = "true" ]]; then \
|
||||
|
@ -77,7 +79,6 @@ RUN if [[ "$BINGO" = "true" ]]; then \
|
|||
COPY embed.go Makefile build.go package.json ./
|
||||
COPY cue.mod cue.mod
|
||||
COPY kinds kinds
|
||||
COPY kindsv2 kindsv2
|
||||
COPY local local
|
||||
COPY packages/grafana-schema packages/grafana-schema
|
||||
COPY public/app/plugins public/app/plugins
|
||||
|
|
Loading…
Reference in New Issue