This commit is contained in:
mezned 2024-11-10 11:07:05 +01:00
parent 294deebbcf
commit 0e5ee8d667

View File

@ -44,8 +44,8 @@ RUN apk add --no-cache curl tar && \
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" && \
apk add unzip && \ apk add unzip && \
unzip promtail-linux-amd64.zip && \ unzip promtail-linux-amd64.zip && \
mv promtail-linux-amd64 /usr/bin/promtai && \ mv promtail-linux-amd64 /usr/bin/promtail && \
chmod +x /usr/bin/promtai && \ chmod +x /usr/bin/promtail && \
rm promtail-linux-amd64.zip && \ rm promtail-linux-amd64.zip && \
apk del unzip apk del unzip
RUN /usr/bin/promtail --version RUN /usr/bin/promtail --version