1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-25 00:08:49 +00:00
dockerfiles/influxdb/Dockerfile

25 lines
679 B
Docker
Raw Normal View History

2015-08-15 17:56:52 +00:00
#
# Dockerfile for influxdb
#
FROM debian:jessie
MAINTAINER kev <noreply@datageek.info>
2015-12-04 11:58:55 +00:00
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}
2015-08-15 17:56:52 +00:00
RUN apt-get update \
&& apt-get install -y wget \
2015-12-04 11:58:55 +00:00
&& wget ${INFLUXDB_URL} \
&& dpkg -i ${INFLUXDB_FILE} \
2015-08-15 17:56:52 +00:00
&& sed -i '/^reporting-disabled/s/false/true/' /etc/opt/influxdb/influxdb.conf \
&& apt-get purge --auto-remove -y wget \
2015-12-04 11:58:55 +00:00
&& rm -rf ${INFLUXDB_FILE} \
2015-08-15 18:35:36 +00:00
/var/lib/apt/lists/*
2015-08-15 17:56:52 +00:00
2015-08-15 18:35:36 +00:00
VOLUME /var/opt/influxdb/
2015-08-15 17:56:52 +00:00
EXPOSE 8083 8086 8088
CMD ["/opt/influxdb/influxd", "-config", "/etc/opt/influxdb/influxdb.conf"]