Skip to content

Commit a0e62b4

Browse files
authored
Merge pull request #5 from openshift/fx_etcd_docker
Dockerfile: resolve issue where binary was not properly copied
2 parents 86413f5 + a4eb423 commit a0e62b4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Dockerfile.openshift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ FROM registry.svc.ci.openshift.org/openshift/origin-v4.0:base
1313

1414
ENTRYPOINT ["/usr/bin/etcd"]
1515

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

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

Dockerfile.rhel

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ FROM openshift/origin-base
1313

1414
ENTRYPOINT ["/usr/bin/etcd"]
1515

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

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

0 commit comments

Comments
 (0)