1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-24 07:48:38 +00:00

upgrade influxdb

This commit is contained in:
kev 2015-12-04 19:58:55 +08:00
parent dfcc196669
commit b1d04d5f0c

@ -5,13 +5,17 @@
FROM debian:jessie
MAINTAINER kev <noreply@datageek.info>
ENV INFLUXDB_VER 0.9.5.1
ENV INFLUXDB_FILE influxdb_${INFLUXDB_VER}_amd64.deb
ENV INFLUXDB_URL https://s3.amazonaws.com/influxdb/${INFLUXDB_FILE}
RUN apt-get update \
&& apt-get install -y wget \
&& wget https://s3.amazonaws.com/influxdb/influxdb_0.9.2_amd64.deb \
&& dpkg -i influxdb_0.9.2_amd64.deb \
&& wget ${INFLUXDB_URL} \
&& dpkg -i ${INFLUXDB_FILE} \
&& sed -i '/^reporting-disabled/s/false/true/' /etc/opt/influxdb/influxdb.conf \
&& apt-get purge --auto-remove -y wget \
&& rm -rf influxdb_0.9.2_amd64.deb \
&& rm -rf ${INFLUXDB_FILE} \
/var/lib/apt/lists/*
VOLUME /var/opt/influxdb/