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

23 lines
501 B
Docker
Raw Normal View History

2016-01-03 07:23:48 +02:00
#
# Dockerfile for motion-arm
#
FROM resin/rpi-raspbian
2016-04-05 16:03:30 +02:00
MAINTAINER EasyPi Software Foundation
2016-01-03 07:23:48 +02:00
RUN set -xe \
&& apt-get update \
&& apt-get install -y motion \
&& sed -i -e 's/^daemon on/daemon off/' \
-e 's/^webcontrol_localhost on/webcontrol_localhost off/' \
-e 's/^stream_localhost on/stream_localhost off/' \
/etc/motion/motion.conf \
&& rm -rf /var/cache/apt/*
VOLUME /var/lib/motion
EXPOSE 8080 8081
2016-04-05 16:03:30 +02:00
ENTRYPOINT ["/usr/bin/motion"]