Skip to content

Commit 5e59569

Browse files
authored
oadp-1.0: ci: Ensure go mod matches ginkgo bin installed (#853)
* Ensure go mod matches ginkgo bin installed Per onsi/ginkgo#1055 * Use -d for go 1.17
1 parent c719d9d commit 5e59569

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

build/ci-Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
# TODO! Find a real ubi8 image for golang 1.16
33
FROM quay.io/app-sre/boilerplate:image-v2.1.0 as builder
44

5-
RUN go get -u github.com/onsi/ginkgo/ginkgo && \
6-
go get -u github.com/onsi/ginkgo/v2/ginkgo
7-
RUN go get github.com/onsi/gomega/...
8-
95
WORKDIR /go/src/github.com/openshift/oadp-operator
106

117
COPY ./ .
128

9+
RUN go get -d -u github.com/onsi/ginkgo/ginkgo && \
10+
go get -d -u github.com/onsi/ginkgo/v2/ginkgo && \
11+
go install -mod=mod github.com/onsi/ginkgo/v2/ginkgo@latest
12+
RUN go get github.com/onsi/gomega/...
1313
RUN chmod -R 777 ./
14-
RUN go mod download
14+
RUN go mod download

0 commit comments

Comments
 (0)