Skip to content

Commit

Permalink
Fix OCP dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Baungard Hansen <jacobbaungard@redhat.com>
  • Loading branch information
jacobbaungard committed Jul 4, 2024
1 parent e95e74c commit be8a40b
Showing 1 changed file with 24 additions and 8 deletions.
32 changes: 24 additions & 8 deletions Dockerfile.ocp
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,31 @@ FROM registry.ci.openshift.org/stolostron/builder:go1.21-linux AS builder
WORKDIR $GOPATH/src/github.com/grafana/grafana
ENV GOFLAGS="-mod=mod"

COPY .git/ ./.git/
COPY go.mod go.sum embed.go Makefile build.go package.json ./
COPY cue cue/
COPY packages/grafana-schema packages/grafana-schema/
COPY public/app/plugins public/app/plugins/
COPY pkg pkg/
COPY scripts scripts/
COPY cue.mod cue.mod/
# COPY .git/ ./.git/
# COPY go.mod go.sum embed.go Makefile build.go package.json ./
# COPY cue.mod cue.mod
# COPY packages/grafana-schema packages/grafana-schema/
# COPY public/app/plugins public/app/plugins/
# COPY pkg pkg/
# COPY scripts scripts/
# COPY .bingo .bingo
# COPY kinds kinds
# COPY local local

COPY go.* ./
COPY .bingo .bingo
COPY embed.go Makefile build.go package.json ./
COPY cue.mod cue.mod
COPY kinds kinds
COPY local local
COPY packages/grafana-schema packages/grafana-schema
COPY public/app/plugins public/app/plugins
COPY public/api-merged.json public/api-merged.json
COPY pkg pkg
COPY scripts scripts
COPY conf conf
COPY .github .github
COPY LICENSE ./

RUN make gen-go

Expand Down

0 comments on commit be8a40b

Please sign in to comment.