Skip to content

Commit

Permalink
Merge pull request #21 from appwrite/feat-update-to-1.20.2
Browse files Browse the repository at this point in the history
Update Telegraf version to 1.20.2
  • Loading branch information
kodumbeats authored Oct 22, 2021
2 parents ecd0931 + 3af45ac commit eabf694
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.12
FROM alpine:3.14

LABEL maintainer="[email protected]"

Expand All @@ -11,19 +11,13 @@ RUN apk add --no-cache \
rm -rf /var/cache/apk/* && \
update-ca-certificates 2>/dev/null

ENV TELEGRAF_VERSION 1.18.2
ENV TELEGRAF_VERSION 1.20.2

RUN set -ex && \
mkdir ~/.gnupg; \
mkdir ~/.gnupg; chmod 600 ~/.gnupg; \
echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf; \
apk add --no-cache --virtual .build-deps wget gnupg tar && \
for key in \
05CE15085FC09D18E99EFB22684A14CF2582E0C5 ; \
do \
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key" || \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" ; \
done && \
wget -qO- https://repos.influxdata.com/influxdb.key | gpg --import && \
[ "$(uname -m)" = x86_64 ] && suffix="_static_linux_amd64.tar.gz" || suffix="_linux_armhf.tar.gz"; \
wget --no-verbose https://dl.influxdata.com/telegraf/releases/telegraf-${TELEGRAF_VERSION}${suffix}.asc && \
wget --no-verbose https://dl.influxdata.com/telegraf/releases/telegraf-${TELEGRAF_VERSION}${suffix} && \
Expand Down

0 comments on commit eabf694

Please sign in to comment.