File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM alpine:3.3
2- MAINTAINER Jonathan Chauncey "<jchauncey@deis.com>"
1+ FROM quay.io/deis/base:0.2.0
32
4- ENV TELEGRAF_VERSION=0.12.1
5- ENV ENVTPL_VERSION=0.2.3
3+ COPY . /
64
7- RUN \
8- mkdir -p /usr/local/bin/ &&\
9- apk --update add curl bash &&\
10- curl -SL http://get.influxdb.org/telegraf/telegraf-${TELEGRAF_VERSION}-1_linux_amd64.tar.gz \
11- | tar xzC / &&\
12- rm -rf /var/cache/apk/* /tmp/* /var/tmp/*
13- # Alpine telegraf fix
14- RUN mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2
5+ RUN mkdir -p /usr/local/bin/ \
6+ && curl -SL -o /tmp/telegraf.deb https://dl.influxdata.com/telegraf/releases/telegraf_0.13.1_amd64.deb \
7+ && dpkg -i /tmp/telegraf.deb \
8+ && rm /tmp/telegraf.deb \
9+ && curl -SL -o /usr/bin/envtpl https://github.com/arschles/envtpl/releases/download/0.2.3/envtpl_linux_amd64 \
10+ && chmod +x /usr/bin/envtpl
1511
12+ CMD ["/start-telegraf" ]
1613
17- ADD https://github.com/arschles/envtpl/releases/download/${ENVTPL_VERSION}/envtpl_linux_amd64 /usr/bin/envtpl
18- RUN chmod +x /usr/bin/envtpl
19-
20- COPY start-telegraf /start-telegraf
21- COPY config.toml.tpl /config.toml.tpl
22-
23- ENTRYPOINT ["/start-telegraf" ]
14+ ENV WORKFLOW_RELEASE 2.0.0
You can’t perform that action at this time.
0 commit comments