1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00:00
dockerfiles/owntracks/ot-recorder/arm/Dockerfile

30 lines
783 B
Docker
Raw Normal View History

2017-03-31 08:35:00 +00:00
#
# Dockerfile for ot-recorder-arm
#
2019-10-01 13:53:06 +00:00
FROM arm32v7/debian:stretch
2017-03-31 08:35:00 +00:00
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apt-get update \
2019-10-01 13:26:42 +00:00
&& apt-get install -y curl gnupg \
2017-03-31 08:35:00 +00:00
&& curl -sSL http://repo.owntracks.org/repo.owntracks.org.gpg.key | apt-key add - \
2019-10-01 13:53:06 +00:00
&& echo 'deb http://repo.owntracks.org/debian stretch main' > /etc/apt/sources.list.d/owntracks.list \
2017-03-31 08:35:00 +00:00
&& apt-get update \
&& apt-get install -y ot-recorder \
&& rm -rf /var/lib/apt/lists/*
2020-09-16 11:01:06 +00:00
ENV OTR_HOST mqtt.eclipse.org
2017-03-31 08:35:00 +00:00
ENV OTR_PORT 1883
2017-05-22 13:53:26 +00:00
ENV OTR_HTTPHOST 0.0.0.0
ENV OTR_HTTPPORT 8083
2019-10-02 00:12:13 +00:00
ENV OTR_TOPICS owntracks/#
2019-10-01 14:47:40 +00:00
ENV OTR_STORAGEDIR /var/spool/owntracks/recorder/store
2017-03-31 08:35:00 +00:00
VOLUME $OTR_STORAGEDIR
COPY docker-entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
EXPOSE 8083