Skip to content

Commit

Permalink
Merge pull request #5 from openshift/fx_etcd_docker
Browse files Browse the repository at this point in the history
Dockerfile: resolve issue where binary was not properly copied
  • Loading branch information
deads2k authored Feb 20, 2019
2 parents 86413f5 + a4eb423 commit a0e62b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile.openshift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ FROM registry.svc.ci.openshift.org/openshift/origin-v4.0:base

ENTRYPOINT ["/usr/bin/etcd"]

COPY --from=builder /go/src/go.etcd.io/etcd/bin/{etcd,etcdctl} /usr/bin/
COPY --from=builder /go/src/go.etcd.io/etcd/bin/etcd /usr/bin/
COPY --from=builder /go/src/go.etcd.io/etcd/bin/etcdctl /usr/bin/

LABEL io.k8s.display-name="etcd server" \
io.k8s.description="etcd is a distributed key-value store which stores the persistent master state for Kubernetes and OpenShift." \
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile.rhel
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ FROM openshift/origin-base

ENTRYPOINT ["/usr/bin/etcd"]

COPY --from=builder /go/src/go.etcd.io/etcd/bin/{etcd,etcdctl} /usr/bin/
COPY --from=builder /go/src/go.etcd.io/etcd/bin/etcd /usr/bin/
COPY --from=builder /go/src/go.etcd.io/etcd/bin/etcdctl /usr/bin/

LABEL io.k8s.display-name="etcd server" \
io.k8s.description="etcd is a distributed key-value store which stores the persistent master state for Kubernetes and OpenShift." \
Expand Down

0 comments on commit a0e62b4

Please sign in to comment.