Skip to content

Commit

Permalink
Dockerfile: use build instead of make build
Browse files Browse the repository at this point in the history
make build performs a sanity test on the binary image which causes problems for unsupport arch. Because we run full CI tests against the image this check is not nessisary and will allow images to be build regardless of arch.

Signed-off-by: Sam Batschelet <[email protected]>
  • Loading branch information
hexfusion committed Oct 23, 2019
1 parent de6b8a9 commit be82b48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.openshift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WORKDIR /go/src/github.com/coreos/etcd

COPY . .

RUN make build
RUN ./build

# stage 2
FROM registry.svc.ci.openshift.org/openshift/origin-v4.0:base
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.rhel
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WORKDIR /go/src/github.com/coreos/etcd

COPY . .

RUN make build
RUN ./build

# stage 2
FROM openshift/origin-base
Expand Down

0 comments on commit be82b48

Please sign in to comment.