update
This commit is contained in:
parent
0e5ee8d667
commit
125d48e626
@ -40,14 +40,13 @@ RUN case "${BUILD_ARCH}" in \
|
||||
chmod +x /etc/services.d/promtail/*;
|
||||
|
||||
# Add promtail
|
||||
RUN apk add --no-cache curl tar && \
|
||||
curl -LO "https://github.com/grafana/loki/releases/download/v${PROMTAIL_VERSION}/promtail-linux-amd64.zip" && \
|
||||
apk add unzip && \
|
||||
unzip promtail-linux-amd64.zip && \
|
||||
mv promtail-linux-amd64 /usr/bin/promtail && \
|
||||
chmod +x /usr/bin/promtail && \
|
||||
rm promtail-linux-amd64.zip && \
|
||||
apk del 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"; \
|
||||
unzip promtail-linux-amd64.zip ; \
|
||||
mv promtail-linux-amd64 /usr/bin/promtail; \
|
||||
chmod +x /usr/bin/promtail; \
|
||||
rm promtail-linux-amd64.zip; \
|
||||
apk del unzip;
|
||||
RUN /usr/bin/promtail --version
|
||||
|
||||
WORKDIR /data/promtail
|
||||
|
Loading…
x
Reference in New Issue
Block a user