Skip to content

Commit

Permalink
Merge pull request #121 from klueska/add-informer-gen-and-lister-gen
Browse files Browse the repository at this point in the history
Add lister-gen and informer-gen to container image
  • Loading branch information
ArangoGutierrez authored Jan 14, 2025
2 parents d2430a7 + e0912fa commit 9478c7d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion images/devel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,18 @@ ARG GOLANG_VERSION=x.x.x
FROM golang:${GOLANG_VERSION}

ARG CLIENT_GEN_VERSION=v0.26.1
ARG LISTER_GEN_VERSION=v0.26.1
ARG INFORMER_GEN_VERSION=v0.26.1
ARG CONTROLLER_GEN_VERSION=v0.9.2
ARG GOLANGCI_LINT_VERSION=v1.52.0
ARG MOQ_VERSION=v0.3.4

RUN go install github.com/golangci/golangci-lint/cmd/golangci-lint@${GOLANGCI_LINT_VERSION} \
&& go install github.com/matryer/moq@${MOQ_VERSION} \
&& go install sigs.k8s.io/controller-tools/cmd/controller-gen@${CONTROLLER_GEN_VERSION} \
&& go install k8s.io/code-generator/cmd/client-gen@${CLIENT_GEN_VERSION}
&& go install k8s.io/code-generator/cmd/client-gen@${CLIENT_GEN_VERSION} \
&& go install k8s.io/code-generator/cmd/lister-gen@${LISTER_GEN_VERSION} \
&& go install k8s.io/code-generator/cmd/informer-gen@${INFORMER_GEN_VERSION}

# We need to set the /work directory as a safe directory.
# This allows git commands to run in the container.
Expand Down

0 comments on commit 9478c7d

Please sign in to comment.