mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-11 02:52:56 +01:00
Add ginkgo v2 to operator build base
This commit is contained in:
parent
3368a86d26
commit
66d21d7022
1 changed files with 6 additions and 2 deletions
|
|
@ -57,8 +57,12 @@ RUN apk add --no-cache podman buildah curl make gcc musl-dev git bash coreutils
|
||||||
# accomodate running podman within docker
|
# accomodate running podman within docker
|
||||||
RUN sed -i 's#^driver.*$#driver = "vfs"#g' /etc/containers/storage.conf
|
RUN sed -i 's#^driver.*$#driver = "vfs"#g' /etc/containers/storage.conf
|
||||||
|
|
||||||
ARG GINKGO_VERSION=1.16.5
|
ARG GINKGO_V1_VERSION=1.16.5
|
||||||
RUN go install github.com/onsi/ginkgo/ginkgo@v${GINKGO_VERSION}
|
ARG GINKGO_V2_VERSION=2.7.1
|
||||||
|
RUN go install github.com/onsi/ginkgo/v2/ginkgo@v${GINKGO_V2_VERSION} \
|
||||||
|
&& mv $(go env GOPATH)/bin/ginkgo $(go env GOPATH)/bin/ginkgo2 \
|
||||||
|
&& go install github.com/onsi/ginkgo/ginkgo@v${GINKGO_V1_VERSION}
|
||||||
|
|
||||||
RUN go install golang.org/x/lint/golint@latest
|
RUN go install golang.org/x/lint/golint@latest
|
||||||
|
|
||||||
# Kubebuilder
|
# Kubebuilder
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue