update
This commit is contained in:
parent
bdb1555ec4
commit
d96d0811fb
@ -41,11 +41,16 @@ 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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user