1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-10 04:19:24 +02:00
dockerfiles/owntracks/ot-recorder/Dockerfile

30 lines
820 B
Docker
Raw Normal View History

2017-03-31 10:35:00 +02:00
#
# Dockerfile for ot-recorder
#
2022-06-30 05:04:43 +02:00
FROM debian:bullseye
2017-03-31 10:35:00 +02:00
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apt-get update \
2022-06-30 08:42:18 +02:00
&& apt-get install -y curl gnupg libcurl3-gnutls \
2017-03-31 10:35:00 +02:00
&& curl -sSL http://repo.owntracks.org/repo.owntracks.org.gpg.key | apt-key add - \
2022-06-30 05:04:43 +02:00
&& echo 'deb http://repo.owntracks.org/debian bullseye main' > /etc/apt/sources.list.d/owntracks.list \
2017-03-31 10:35:00 +02:00
&& apt-get update \
2020-09-29 10:27:45 +02:00
&& apt-get install -y ot-recorder || true \
2017-03-31 10:35:00 +02:00
&& rm -rf /var/lib/apt/lists/*
2022-06-30 05:04:43 +02:00
ENV OTR_HOST=mqtt.eclipse.org \
OTR_PORT=1883 \
OTR_HTTPHOST=0.0.0.0 \
OTR_HTTPPORT=8083 \
OTR_TOPICS=owntracks/# \
OTR_STORAGEDIR=/var/spool/owntracks/recorder/store
2017-03-31 10:35:00 +02:00
VOLUME $OTR_STORAGEDIR
COPY docker-entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
2021-10-28 12:31:36 +02:00
EXPOSE 8083 8085