1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-30 18:51:24 +00:00
dockerfiles/motion-arm/Dockerfile

23 lines
501 B
Docker
Raw Normal View History

2016-01-03 05:23:48 +00:00
#
# Dockerfile for motion-arm
#
FROM resin/rpi-raspbian
2016-04-05 14:03:30 +00:00
MAINTAINER EasyPi Software Foundation
2016-01-03 05:23:48 +00: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 14:03:30 +00:00
ENTRYPOINT ["/usr/bin/motion"]