Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
FROM golang:1.25-alpine AS build-env

RUN apk add --update --no-cache make bash mailcap jq git findutils
RUN apk add --update --no-cache make bash mailcap jq git findutils curl

WORKDIR /app

COPY go.mod go.sum ./
RUN go mod download

COPY Makefile ./
RUN make build-tools

COPY . .

RUN make build
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,9 @@ OPERATOR_SDK = $(shell which operator-sdk)
endif
endif

.PHONY: build-tools
build-tools: kustomize controller-gen gojsontoyaml jsonnet conversion-gen

.PHONY: bundle
bundle: manifests kustomize operator-sdk ## Generate bundle manifests and metadata, then validate generated files.
$(OPERATOR_SDK) generate kustomize manifests -q
Expand Down