Skip to content

Commit 688d224

Browse files
author
Sebastian Spaink
committed
fix: url mistakes
1 parent 9485bc3 commit 688d224

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

telegraf/nightly/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,12 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" && \
1313
armel) ARCH='armel';; \
1414
*) echo "Unsupported architecture: ${dpkgArch}"; exit 1;; \
1515
esac && \
16-
wget --no-verbose https://dl.influxdata.com/telegraf/releases/telegraf_${TELEGRAF_VERSION}_${ARCH}.deb && \
16+
wget --no-verbose https://dl.influxdata.com/telegraf/nightlies/telegraf_${TELEGRAF_VERSION}_${ARCH}.deb && \
1717
dpkg -i telegraf_${TELEGRAF_VERSION}_${ARCH}.deb && \
1818
rm -f telegraf_${TELEGRAF_VERSION}_${ARCH}.deb*
1919

2020
EXPOSE 8125/udp 8092/udp 8094
2121

22-
USER telegraf
23-
2422
COPY entrypoint.sh /entrypoint.sh
2523
ENTRYPOINT ["/entrypoint.sh"]
2624
CMD ["telegraf"]

telegraf/nightly/alpine/Dockerfile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@ RUN echo 'hosts: files dns' >> /etc/nsswitch.conf
44
RUN apk add --no-cache iputils ca-certificates net-snmp-tools procps lm_sensors tzdata su-exec && \
55
update-ca-certificates
66

7-
87
ENV TELEGRAF_VERSION nightly
98

109
RUN set -ex && \
1110
apk add --no-cache --virtual .build-deps wget tar && \
12-
wget --no-verbose https://dl.influxdata.com/telegraf/nightlies/telegraf-static-${TELEGRAF_VERSION}_linux_amd64.tar.gz.asc && \
13-
wget --no-verbose https://dl.influxdata.com/telegraf/nightlies/telegraf-static-${TELEGRAF_VERSION}_linux_amd64.tar.gz && \
11+
wget --no-verbose https://dl.influxdata.com/telegraf/nightlies/telegraf-${TELEGRAF_VERSION}_static_linux_amd64.tar.gz && \
1412
mkdir -p /usr/src /etc/telegraf && \
15-
tar -C /usr/src -xzf telegraf-static-${TELEGRAF_VERSION}_linux_amd64.tar.gz && \
13+
tar -C /usr/src -xzf telegraf-${TELEGRAF_VERSION}_static_linux_amd64.tar.gz && \
1614
mv /usr/src/telegraf*/etc/telegraf/telegraf.conf /etc/telegraf/ && \
1715
mkdir /etc/telegraf/telegraf.d && \
1816
cp -a /usr/src/telegraf*/usr/bin/telegraf /usr/bin/ && \
@@ -25,8 +23,6 @@ RUN set -ex && \
2523

2624
EXPOSE 8125/udp 8092/udp 8094
2725

28-
USER telegraf
29-
3026
COPY entrypoint.sh /entrypoint.sh
3127
ENTRYPOINT ["/entrypoint.sh"]
3228
CMD ["telegraf"]

0 commit comments

Comments
 (0)