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