From 3a7153733de4988e57b44f514721af21c77773ce Mon Sep 17 00:00:00 2001 From: Marcus Klein Date: Mon, 28 Aug 2017 14:59:52 +0200 Subject: [PATCH] remove tools needed only for installation after motioneye installation --- extra/Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 -- 2.39.5