Skip to content

Commit

Permalink
Merge pull request #238 from ingvagabund/make-build-instead-of-go-build
Browse files Browse the repository at this point in the history
bug 2041466: Dockerfile: use make build instead of go build
  • Loading branch information
openshift-merge-robot committed Jan 20, 2022
2 parents 9b5f8ba + d74ef1a commit d9004c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.rhel7
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.17-openshift-4.10 AS builder
WORKDIR /go/src/github.com/openshift/cluster-kube-descheduler-operator
COPY . .
RUN go build -o cluster-kube-descheduler-operator ./cmd/cluster-kube-descheduler-operator
RUN make build --warn-undefined-variables

FROM registry.ci.openshift.org/ocp/4.10:base
COPY --from=builder /go/src/github.com/openshift/cluster-kube-descheduler-operator/cluster-kube-descheduler-operator /usr/bin/
Expand Down

0 comments on commit d9004c5

Please sign in to comment.