11 lines
215 B
Docker
11 lines
215 B
Docker
FROM alpine
|
|
RUN sleep 10
|
|
RUN apk update
|
|
RUN apk add influxdb
|
|
RUN apk add telegraf
|
|
COPY srcs/start.sh /root/start.sh
|
|
COPY srcs/telegraf.conf /etc/telegraf/telegraf.conf
|
|
WORKDIR /root/
|
|
CMD sh start.sh
|
|
EXPOSE 8086/tcp
|