2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2026-01-02 19:17:33 +01:00

update influxdb and grafana

This commit is contained in:
kev
2016-03-26 08:34:17 +08:00
parent a43cdd2f0c
commit 00d28d1146
5 changed files with 32 additions and 11 deletions

View File

@@ -5,13 +5,16 @@
FROM debian:jessie
MAINTAINER kev <noreply@datageek.info>
ENV INFLUXDB_VER 0.9.6.1
ENV INFLUXDB_FILE influxdb_${INFLUXDB_VER}_amd64.deb
ENV INFLUXDB_URL https://s3.amazonaws.com/influxdb/${INFLUXDB_FILE}
ENV INFLUXDB_VERSION=0.11.0
ENV INFLUXDB_FILE=influxdb_${INFLUXDB_VERSION}-1_amd64.deb
ENV INFLUXDB_MD5=917148cda9d88aad384475c236aaf81e
ENV INFLUXDB_URL=https://s3.amazonaws.com/influxdb/${INFLUXDB_FILE}
RUN apt-get update \
RUN set -xe \
&& apt-get update \
&& apt-get install -y wget \
&& wget ${INFLUXDB_URL} \
&& wget ${INFLUXDB_URL} -O ${INFLUXDB_FILE} \
&& echo "${INFLUXDB_MD5} ${INFLUXDB_FILE}" | md5sum -c \
&& dpkg -i ${INFLUXDB_FILE} \
&& sed -i '/^reporting-disabled/s/false/true/' /etc/influxdb/influxdb.conf \
&& apt-get purge --auto-remove -y wget \