1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-14 11:23:02 +02:00
dockerfiles/ot-recorder/arm/Dockerfile

28 lines
721 B
Docker
Raw Normal View History

2017-03-31 10:35:00 +02:00
#
# Dockerfile for ot-recorder-arm
#
FROM armhf/debian:jessie
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apt-get update \
&& apt-get install -y curl \
&& curl -sSL http://repo.owntracks.org/repo.owntracks.org.gpg.key | apt-key add - \
&& echo 'deb http://repo.owntracks.org/debian jessie main' > /etc/apt/sources.list.d/owntracks.list \
&& apt-get update \
&& apt-get install -y ot-recorder \
&& rm -rf /var/lib/apt/lists/*
ENV OTR_STORAGEDIR /var/spool/owntracks/recorder/store
ENV OTR_TOPICS owntracks/#
ENV OTR_HOST iot.eclipse.org
ENV OTR_PORT 1883
VOLUME $OTR_STORAGEDIR
COPY docker-entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
EXPOSE 8083