Remove ginkgo v1 from operator build base

This commit is contained in:
Clemens Beck 2023-02-07 14:56:34 +01:00
parent 2cc3d8c64b
commit 21989210b0
No known key found for this signature in database
GPG key ID: 4EC101F2BFCCFEFA

View file

@ -57,11 +57,9 @@ RUN apk add --no-cache podman buildah curl make gcc musl-dev git bash coreutils
# accomodate running podman within docker
RUN sed -i 's#^driver.*$#driver = "vfs"#g' /etc/containers/storage.conf
ARG GINKGO_V1_VERSION=1.16.5
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}
&& ln -s "${GOPATH}/bin/ginkgo" "${GOPATH}/bin/ginkgo2"
RUN go install golang.org/x/lint/golint@latest