File tree 2 files changed +8
-7
lines changed
2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,4 @@ WORKDIR /
33
33
COPY --from=builder /workspace/bin/epp /app/epp
34
34
USER 65532:65532
35
35
36
- CMD ["sleep" , "infinity" ]
37
-
38
-
36
+ ENTRYPOINT ["/app/epp" ]
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ IMG ?= controller:latest
3
3
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
4
4
ENVTEST_K8S_VERSION = 1.31.0
5
5
6
+ TARGETOS ?= linux
7
+ TARGETARCH ?= amd64
8
+
6
9
# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
7
10
ifeq (,$(shell go env GOBIN) )
8
11
GOBIN =$(shell go env GOPATH) /bin
@@ -474,13 +477,13 @@ buildah-build: check-builder load-version-json ## Build and push image (multi-ar
474
477
fi
475
478
476
479
.PHONY : image-build
477
- image-build : check-container-tool load-version-json # # Build Docker image ## Build Docker image using $(CONTAINER_TOOL)
478
- @printf " \033[33;1m==== Building Docker image $( IMG) ====\033[0m\n"
480
+ image-build : check-container-tool load-version-json # # Build container image using $(CONTAINER_TOOL)
481
+ @printf " \033[33;1m==== Building container image $( IMG) ====\033[0m\n"
479
482
$(CONTAINER_TOOL ) build --build-arg TARGETOS=$(TARGETOS ) --build-arg TARGETARCH=$(TARGETARCH ) -t $(IMG ) .
480
483
481
484
.PHONY : image-push
482
- image-push : check-container-tool load-version-json # # Push Docker image $(IMG) to registry
483
- @printf " \033[33;1m==== Pushing Docker image $( IMG) ====\033[0m\n"
485
+ image-push : check-container-tool load-version-json # # Push container image $(IMG) to registry
486
+ @printf " \033[33;1m==== Pushing container image $( IMG) ====\033[0m\n"
484
487
$(CONTAINER_TOOL ) push $(IMG )
485
488
486
489
# #@ Install/Uninstall Targets
You can’t perform that action at this time.
0 commit comments