From: Marcus Klein Date: Mon, 28 Aug 2017 12:59:52 +0000 (+0200) Subject: remove tools needed only for installation after motioneye installation X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=3a7153733de4988e57b44f514721af21c77773ce;p=motioneye-debian remove tools needed only for installation after motioneye installation --- diff --git a/extra/Dockerfile b/extra/Dockerfile index d59ad0a..aeb7510 100644 --- a/extra/Dockerfile +++ b/extra/Dockerfile @@ -13,11 +13,15 @@ RUN apt-get --quiet update && \ python-tornado \ python-wheel \ v4l-utils && \ + pip install motioneye && \ + apt-get purge --yes \ + python-pip \ + python-setuptools \ + python-wheel && \ + apt-get autoremove --yes && \ apt-get --quiet autoremove && \ apt-get --quiet --yes clean && rm -rf /var/lib/apt/lists/* && rm -f /var/cache/apt/*.bin -RUN pip install motioneye - # R/W needed for motioneye to update configurations VOLUME /etc/motioneye