https://github.com/coreos/etcd
Revision 215b53cf3b48ee761f4c40908b3874b2e5e95e9f authored by Marek Siarkowicz on 20 January 2023, 10:15:12 UTC, committed by Marek Siarkowicz on 20 January 2023, 10:15:12 UTC
1 parent 638c6f1
Raw File
Tip revision: 215b53cf3b48ee761f4c40908b3874b2e5e95e9f authored by Marek Siarkowicz on 20 January 2023, 10:15:12 UTC
version: bump up to 3.5.7
Tip revision: 215b53c
Dockerfile-release.amd64
FROM --platform=linux/amd64 gcr.io/distroless/static-debian11

ADD etcd /usr/local/bin/
ADD etcdctl /usr/local/bin/
ADD etcdutl /usr/local/bin/

WORKDIR /var/etcd/
WORKDIR /var/lib/etcd/

# Alpine Linux doesn't use pam, which means that there is no /etc/nsswitch.conf,
# but Golang relies on /etc/nsswitch.conf to check the order of DNS resolving
# (see https://github.com/golang/go/commit/9dee7771f561cf6aee081c0af6658cc81fac3918)
ADD nsswitch.conf /etc/nsswitch.conf

EXPOSE 2379 2380

# Define default command.
CMD ["/usr/local/bin/etcd"]
back to top