This commit is contained in:
mezned 2024-11-10 17:52:32 +01:00
parent 5ecaf262ac
commit bdb1555ec4
2 changed files with 4 additions and 4 deletions

View File

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

View File

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