This commit is contained in:
mezned 2024-11-10 12:36:14 +01:00
parent db38269319
commit 5ecaf262ac
2 changed files with 3 additions and 3 deletions

View File

@ -43,8 +43,8 @@ RUN case "${BUILD_ARCH}" in \
RUN apk add --no-cache curl tar unzip; \
curl -LO "https://github.com/grafana/loki/releases/download/v${PROMTAIL_VERSION}/promtail-linux-amd64.zip"; \
unzip promtail-linux-amd64.zip; \
mv promtail-linux-amd64 /data/promtail; \
chmod +x /data/promtail; \
mv promtail-linux-amd64 /data/promtail-cmd; \
chmod +x /data/promtail-cmd; \
rm promtail-linux-amd64.zip;
WORKDIR /data/promtail

View File

@ -37,4 +37,4 @@ if [ "${log_level}" == "debug" ]; then
fi
bashio::log.info "Handing over control to Promtail..."
/data/promtail "${promtail_args[@]}"
/data/promtail-cmd "${promtail_args[@]}"