]> www.vanbest.org Git - motioneye-debian/commitdiff
use motion 4.0 from Ubuntu Zesty
authorMarcus Klein <marcus.klein@open-xchange.com>
Mon, 28 Aug 2017 10:58:57 +0000 (12:58 +0200)
committerMarcus Klein <himself@kleini.org>
Sun, 5 Nov 2017 09:07:04 +0000 (10:07 +0100)
python-setuptools is needed to install tornado
gcc, libcurl4-openssl-dev, libssl-dev, python-dev is needed for installing pycurl

extra/Dockerfile

index b2e9fba7d423d71e4bd1bd475b97e6da1df5a71c..daecd9e0db0743da929319fdb173e86d38d06d8b 100644 (file)
@@ -3,25 +3,15 @@ LABEL maintainer="Conor Heine <conor.heine@gmail.com>"
 
 RUN apt-get --quiet update && \
     DEBIAN_FRONTEND="noninteractive" apt-get --quiet --yes --option Dpkg::Options::="--force-confnew" --no-install-recommends install \
-    automake \
-    autoconf \
-    build-essential \
+    gcc \
     ffmpeg \
-    git \
-    libav-tools \
-    libavcodec-dev \
-    libavformat-dev \
-    libavutil-dev \
     libcurl4-openssl-dev \
-    libjpeg-dev \
     libssl-dev \
-    libswscale-dev \
-    pkgconf \
+    motion \
     python-dev \
     python-pip \
     python-setuptools \
     python-wheel \
-    subversion \
     v4l-utils && \
     apt-get --quiet autoremove && \
     apt-get --quiet --yes clean && rm -rf /var/lib/apt/lists/* && rm -f /var/cache/apt/*.bin
@@ -29,16 +19,6 @@ RUN apt-get --quiet update && \
 # Pip
 RUN pip install tornado jinja2 pillow pycurl
 
-RUN cd /tmp && git clone --branch 4.0 https://github.com/Motion-Project/motion.git motion-project
-RUN cd /tmp/motion-project && \
-    autoreconf -fiv && \
-    ./configure --prefix=/usr --without-pgsql --without-sqlite3 --without-mysql --with-ffmpeg=/usr && \
-    make && \
-    touch README \
-    make install && \
-    cp motion /usr/local/bin/motion && cd / && \
-    rm -rf /tmp/motion-project
-
 RUN pip install motioneye
 
 # R/W needed for motioneye to update configurations