mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-05-22 00:54:00 +00:00
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:
@@ -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}
|
||||
|
||||
2
Makefile
2
Makefile
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user