1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:36 +02:00
dockerfiles/motion-arm/Dockerfile
2016-04-05 22:03:30 +08:00

23 lines
501 B
Docker

#
# Dockerfile for motion-arm
#
FROM resin/rpi-raspbian
MAINTAINER EasyPi Software Foundation
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
ENTRYPOINT ["/usr/bin/motion"]