From d96d0811fb2e304276378d00291a2fe0bbe682b0 Mon Sep 17 00:00:00 2001 From: mezned Date: Sun, 10 Nov 2024 18:00:39 +0100 Subject: [PATCH] update --- promtail/Dockerfile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/promtail/Dockerfile b/promtail/Dockerfile index c21db4f..fa94a57 100644 --- a/promtail/Dockerfile +++ b/promtail/Dockerfile @@ -41,12 +41,17 @@ RUN case "${BUILD_ARCH}" in \ # Add promtail 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 -s -J -L -o promtail-linux-amd64.zip + "https://github.com/grafana/loki/releases/download/v${PROMTAIL_VERSION}/promtail-linux-amd64.zip"; \ unzip promtail-linux-amd64.zip -d /usr/bin; \ mv /usr/bin/promtail-linux-amd64 /usr/bin/promtail; \ + ls -ltr /usr/bin/promtail; \ chmod a+x /usr/bin/promtail; \ - rm promtail-linux-amd64.zip; - + ls -ltr /usr/bin/promtail; \ + rm promtail-linux-amd64.zip; \ + ls -ltr /usr/bin/promtail; \ + /usr/bin/promtail -v; + WORKDIR /data/promtail # Build arguments