mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-27 02:09:06 +02:00
23 lines
501 B
Docker
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"]
|