-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Dockerfile, deprecated statements updated
- Loading branch information
Showing
1 changed file
with
5 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
FROM metabrainz/consul-template-base:ct_0.33.0-jammy-1.0.1-v0.4-1 | ||
|
||
MAINTAINER Laurent Monin <[email protected]> | ||
RUN apt-get update && apt-get upgrade -y -o Dpkg::Options::="--force-confold" | ||
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
RUN rm -f /core | ||
|
||
ENV TELEGRAF_DEB telegraf_1.32.3-1_amd64.deb | ||
ENV TELEGRAF_DEB=telegraf_1.32.3-1_amd64.deb | ||
RUN wget https://dl.influxdata.com/telegraf/releases/${TELEGRAF_DEB} && dpkg -i ${TELEGRAF_DEB} && rm -f ${TELEGRAF_DEB} | ||
|
||
ENV INFLUX_SERVER "http://localhost:8086" | ||
ENV INFLUX_DB "telegraf-docker" | ||
ENV DC "testing" | ||
ENV HOST "telegraf-docker" | ||
ENV INFLUX_SERVER="http://localhost:8086" | ||
ENV INFLUX_DB="telegraf-docker" | ||
ENV DC="testing" | ||
ENV HOST="telegraf-docker" | ||
|
||
RUN mkdir -p /etc/telegraf/telegraf.d | ||
COPY files/telegraf/telegraf.conf /etc/telegraf/ | ||
|