FROM pingcap/alpine-glibc
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
COPY pd-server /pd-server
COPY pd-ctl /pd-ctl
EXPOSE 2379 2380
ENTRYPOINT ["/pd-server"]

