Skip to content

Commit 2f4f0fd

Browse files
authored
Merge pull request #1211 from ccrisan/docker
use motion 4.2.2 for Docker images
2 parents e57a2fd + 4adb32d commit 2f4f0fd

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

extra/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:18.04
1+
FROM ubuntu:18.10
22
LABEL maintainer="Marcus Klein <himself@kleini.org>"
33

44
ARG BUILD_DATE
@@ -19,6 +19,7 @@ RUN apt-get update && \
1919
DEBIAN_FRONTEND="noninteractive" apt-get --yes --option Dpkg::Options::="--force-confnew" --no-install-recommends install \
2020
curl \
2121
ffmpeg \
22+
libmicrohttpd12 \
2223
libmysqlclient20 \
2324
libpq5 \
2425
lsb-release \
@@ -33,7 +34,7 @@ RUN apt-get update && \
3334
python-wheel \
3435
tzdata \
3536
v4l-utils && \
36-
curl -L --output /tmp/motion.deb https://github.com/Motion-Project/motion/releases/download/release-4.1.1/bionic_motion_4.1.1-1_amd64.deb && \
37+
curl -L --output /tmp/motion.deb https://github.com/Motion-Project/motion/releases/download/release-4.2.2/cosmic_motion_4.2.2-1_amd64.deb && \
3738
dpkg -i /tmp/motion.deb && \
3839
rm /tmp/motion.deb && \
3940
pip install /tmp/motioneye && \
@@ -58,6 +59,6 @@ ADD extra/motioneye.conf.sample /usr/share/motioneye/extra/
5859

5960
CMD test -e /etc/motioneye/motioneye.conf || \
6061
cp /usr/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf ; \
61-
/usr/local/bin/meyectl startserver -c /etc/motioneye/motioneye.conf
62+
/usr/local/bin/meyectl startserver -c /etc/motioneye/motioneye.conf -d
6263

6364
EXPOSE 8765

extra/Dockerfile.armv7-armhf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ RUN apt-get update && \
2222
ffmpeg \
2323
git \
2424
libmariadbclient18 \
25+
libmicrohttpd12 \
2526
libpq5 \
2627
lsb-release \
2728
mosquitto-clients \
@@ -39,7 +40,7 @@ RUN apt-get update && \
3940
git clone --depth 1 https://github.com/Hexxeh/rpi-firmware.git /tmp/rpi-firmware && \
4041
cp -rv /tmp/rpi-firmware/vc/hardfp/opt/vc /opt && \
4142
rm -rf /tmp/rpi-firmware && \
42-
curl -L --output /tmp/motion.deb https://github.com/Motion-Project/motion/releases/download/release-4.1.1/pi_stretch_motion_4.1.1-1_armhf.deb && \
43+
curl -L --output /tmp/motion.deb https://github.com/Motion-Project/motion/releases/download/release-4.2.2/pi_stretch_motion_4.2.2-1_armhf.deb && \
4344
dpkg -i /tmp/motion.deb && \
4445
rm /tmp/motion.deb && \
4546
pip install /tmp/motioneye && \
@@ -65,6 +66,6 @@ ADD extra/motioneye.conf.sample /usr/share/motioneye/extra/
6566

6667
CMD test -e /etc/motioneye/motioneye.conf || \
6768
cp /usr/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf ; \
68-
/usr/local/bin/meyectl startserver -c /etc/motioneye/motioneye.conf
69+
/usr/local/bin/meyectl startserver -c /etc/motioneye/motioneye.conf -d
6970

7071
EXPOSE 8765

0 commit comments

Comments
 (0)