Skip to content

Commit 636da53

Browse files
committed
add missing files for 1.17
1 parent 2252838 commit 636da53

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

telegraf/1.14/Dockerfile renamed to telegraf/1.17/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
FROM buildpack-deps:stretch-curl
1+
FROM buildpack-deps:buster-curl
22

33
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
44
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends iputils-ping snmp procps lm-sensors && \
55
rm -rf /var/lib/apt/lists/*
66

77
RUN set -ex && \
8+
mkdir ~/.gnupg; \
9+
echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf; \
810
for key in \
911
05CE15085FC09D18E99EFB22684A14CF2582E0C5 ; \
1012
do \
@@ -13,7 +15,7 @@ RUN set -ex && \
1315
gpg --keyserver keyserver.pgp.com --recv-keys "$key" ; \
1416
done
1517

16-
ENV TELEGRAF_VERSION 1.14.5
18+
ENV TELEGRAF_VERSION 1.17.0
1719
RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" && \
1820
case "${dpkgArch##*-}" in \
1921
amd64) ARCH='amd64';; \

telegraf/1.14/alpine/Dockerfile renamed to telegraf/1.17/alpine/Dockerfile

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

7-
ENV TELEGRAF_VERSION 1.14.5
7+
ENV TELEGRAF_VERSION 1.17.0
88

99
RUN set -ex && \
1010
mkdir ~/.gnupg; \
@@ -17,14 +17,14 @@ RUN set -ex && \
1717
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
1818
gpg --keyserver keyserver.pgp.com --recv-keys "$key" ; \
1919
done && \
20-
wget --no-verbose https://dl.influxdata.com/telegraf/releases/telegraf-${TELEGRAF_VERSION}-static_linux_amd64.tar.gz.asc && \
21-
wget --no-verbose https://dl.influxdata.com/telegraf/releases/telegraf-${TELEGRAF_VERSION}-static_linux_amd64.tar.gz && \
22-
gpg --batch --verify telegraf-${TELEGRAF_VERSION}-static_linux_amd64.tar.gz.asc telegraf-${TELEGRAF_VERSION}-static_linux_amd64.tar.gz && \
20+
wget --no-verbose https://dl.influxdata.com/telegraf/releases/telegraf-${TELEGRAF_VERSION}_static_linux_amd64.tar.gz.asc && \
21+
wget --no-verbose https://dl.influxdata.com/telegraf/releases/telegraf-${TELEGRAF_VERSION}_static_linux_amd64.tar.gz && \
22+
gpg --batch --verify telegraf-${TELEGRAF_VERSION}_static_linux_amd64.tar.gz.asc telegraf-${TELEGRAF_VERSION}_static_linux_amd64.tar.gz && \
2323
mkdir -p /usr/src /etc/telegraf && \
24-
tar -C /usr/src -xzf telegraf-${TELEGRAF_VERSION}-static_linux_amd64.tar.gz && \
25-
mv /usr/src/telegraf*/telegraf.conf /etc/telegraf/ && \
26-
chmod +x /usr/src/telegraf*/* && \
27-
cp -a /usr/src/telegraf*/* /usr/bin/ && \
24+
tar -C /usr/src -xzf telegraf-${TELEGRAF_VERSION}_static_linux_amd64.tar.gz && \
25+
mv /usr/src/telegraf*/etc/telegraf/telegraf.conf /etc/telegraf/ && \
26+
mkdir /etc/telegraf/telegraf.d && \
27+
cp -a /usr/src/telegraf*/usr/bin/telegraf /usr/bin/ && \
2828
gpgconf --kill all && \
2929
rm -rf *.tar.gz* /usr/src /root/.gnupg && \
3030
apk del .build-deps
File renamed without changes.

0 commit comments

Comments
 (0)