fix Dockerfile error

This commit is contained in:
Mauro Torrez 2019-09-10 01:21:15 -03:00
parent 27d82fb5be
commit 06c6091bb5

View File

@ -97,7 +97,7 @@
ADD https://github.com/kelseyhightower/confd/releases/download/v${CONFD_VERSION}/confd-${CONFD_VERSION}-linux-amd64 /usr/local/bin/confd
RUN mkdir -p /start.d \
&& printf '#!/bin/bash\nset -e\n/usr/local/bin/confd -onetime -backend env\nfind /start.d -maxdepth 1 -type f -exec cmd option {} \;\nexec ${@}\n' > /entrypoint.sh \
&& mkdir -p /etc/confd/{conf.d,templates} \
&& mkdir -p /etc/confd/conf.d /etc/confd/templates \
&& chmod +x /usr/local/bin/confd /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
dest: /root/.buster-slim-docker-image/Dockerfile