1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-04 10:34:49 +02:00
dockerfiles/motion-arm/Dockerfile
2016-01-03 13:23:48 +08:00

22 lines
494 B
Docker

#
# Dockerfile for motion-arm
#
FROM resin/rpi-raspbian
MAINTAINER kev <noreply@datageek.info>
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
CMD ["/usr/bin/motion"]