13 lines
378 B
Docker
13 lines
378 B
Docker
FROM openeuler/openeuler:24.03
|
|
|
|
RUN dnf update -y && \
|
|
dnf clean all && \
|
|
rm -rf /var/cache/dnf/*
|
|
|
|
RUN curl -fsSL https://github.com/abtreece/confd/releases/download/v0.20.0/confd-v0.20.0-linux-amd64.tar.gz | tar -xz -C /usr/local/bin && \
|
|
chmod +x /usr/local/bin/confd
|
|
|
|
RUN mkdir /etc/confd
|
|
|
|
CMD [ "confd","-watch", "-backend", "etcd", "-node", "http://etcd:2379"]
|