mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
scripts: build-docker tag and use ENTRYPOINT
Use ENTRYPOINT so people can specify flags to etcd without providing the binary. Thanks to @hugod in IRC for pointing this out.
This commit is contained in:
parent
893fb3b890
commit
00df13138e
@ -6,7 +6,7 @@ FROM scratch
|
||||
ADD etcd /
|
||||
ADD etcdctl /
|
||||
EXPOSE 4001 7001 2379 2380
|
||||
CMD ["/etcd"]
|
||||
ENTRYPOINT ["/etcd"]
|
||||
DF
|
||||
|
||||
docker build .
|
||||
docker build -t quay.io/coreos/etcd:${1} .
|
||||
|
Loading…
x
Reference in New Issue
Block a user