mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
13 lines
193 B
Bash
Executable File
13 lines
193 B
Bash
Executable File
#!/usr/bin/bash
|
|
tar cv --files-from /dev/null | docker import - scratch
|
|
|
|
cat <<DF > Dockerfile
|
|
FROM scratch
|
|
ADD etcd /
|
|
ADD etcdctl /
|
|
EXPOSE 4001 7001 2379 2380
|
|
CMD ["/etcd"]
|
|
DF
|
|
|
|
docker build .
|