-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
30 lines (23 loc) · 1 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM bestlibre/tiny-armhf:latest
# Default configuration
RUN [ "cross-build-start" ]
RUN gpg \
--keyserver hkp://ha.pool.sks-keyservers.net \
--recv-keys 05CE15085FC09D18E99EFB22684A14CF2582E0C5
ENV INFLUXDB_VERSION 1.2.4
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y wget && \
wget -q https://dl.influxdata.com/influxdb/releases/influxdb_${INFLUXDB_VERSION}_armhf.deb.asc && \
wget -q https://dl.influxdata.com/influxdb/releases/influxdb_${INFLUXDB_VERSION}_armhf.deb && \
gpg --batch --verify influxdb_${INFLUXDB_VERSION}_armhf.deb.asc influxdb_${INFLUXDB_VERSION}_armhf.deb && \
dpkg -i influxdb_${INFLUXDB_VERSION}_armhf.deb && \
rm -f influxdb_${INFLUXDB_VERSION}_armhf.deb* && \
apt-get purge --auto-remove -y wget && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
COPY influxdb.conf /etc/influxdb/influxdb.conf
RUN [ "cross-build-end" ]
EXPOSE 8086
VOLUME /var/lib/influxdb
ENTRYPOINT ["/tini", "--"]
CMD ["influxd"]