update
This commit is contained in:
parent
125d48e626
commit
6d4ab6cc2c
@ -42,12 +42,12 @@ 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; \
|
||||||
mv promtail-linux-amd64 /usr/bin/promtail; \
|
mv promtail-linux-amd64 /usr/bin/promtail; \
|
||||||
chmod +x /usr/bin/promtail; \
|
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
|
/usr/bin/promtail --version
|
||||||
|
|
||||||
WORKDIR /data/promtail
|
WORKDIR /data/promtail
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user