add -v parameter to run-parts
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f016574463
commit
4daa2cf001
@ -3,7 +3,7 @@ FROM debian:${DEBIAN_VERSION}
|
|||||||
ARG CONFD_VERSION=0.16.0
|
ARG CONFD_VERSION=0.16.0
|
||||||
ADD https://github.com/kelseyhightower/confd/releases/download/v${CONFD_VERSION}/confd-${CONFD_VERSION}-linux-amd64 /usr/local/bin/confd
|
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 \
|
RUN mkdir -p /start.d \
|
||||||
&& printf '#!/bin/bash\nset -e\n/usr/local/bin/confd -onetime -backend env\nrun-parts /start.d\nexec ${@}\n' > /entrypoint.sh \
|
&& printf '#!/bin/bash\nset -e\n/usr/local/bin/confd -onetime -backend env\nrun-parts -v /start.d\nexec ${@}\n' > /entrypoint.sh \
|
||||||
&& mkdir -p /etc/confd/conf.d /etc/confd/templates \
|
&& mkdir -p /etc/confd/conf.d /etc/confd/templates \
|
||||||
&& chmod +x /usr/local/bin/confd /entrypoint.sh
|
&& chmod +x /usr/local/bin/confd /entrypoint.sh
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user