Chore: Removed unused dockerfile cmd (#71)

* chore: removed unused dockerfile cmd

Signed-off-by: yue9944882 <291271447@qq.com>

* passing IMAGE_TAG to make command

Signed-off-by: yue9944882 <291271447@qq.com>
This commit is contained in:
Min Kim
2022-05-10 15:47:33 +08:00
committed by GitHub
parent 27e876570b
commit d63d00daef
2 changed files with 1 additions and 2 deletions

View File

@@ -12,6 +12,5 @@ ENV USER_UID=10001
# or the codes will use it and cause an error, the container cannot be started.
COPY --from=builder /go/src/open-cluster-management.io/placement/placement /
COPY --from=builder /go/src/open-cluster-management.io/placement/e2e.test /
RUN microdnf update && microdnf clean all
USER ${USER_UID}

View File

@@ -35,7 +35,7 @@ GO_TEST_PACKAGES :=./pkg/...
# $2 - Dockerfile path
# $3 - context directory for image build
# It will generate target "image-$(1)" for building the image and binding it as a prerequisite to target "images".
$(call build-image,$(IMAGE),$(IMAGE_REGISTRY)/$(IMAGE),./Dockerfile,.)
$(call build-image,$(IMAGE),$(IMAGE_REGISTRY)/$(IMAGE):${IMAGE_TAG},./Dockerfile,.)
update: copy-crd