diff --git a/Dockerfile b/Dockerfile index bd3d9200..2491de76 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,16 +7,16 @@ FROM ubuntu:15.10 m4 \ build-essential \ git \ - yasm - RUN git clone --depth=1 git://github.com/ultravideo/kvazaar.git - RUN cd kvazaar; \ + yasm; \ + git clone --depth=1 git://github.com/ultravideo/kvazaar.git; \ + cd kvazaar; \ ./autogen.sh; \ ./configure --disable-shared;\ - make + make;\ + apt-get remove --purge -y automake autoconf libtool m4 build-essential git yasm `apt-mark showauto`; \ + apt-get autoremove -y; \ + apt-get clean all; \ + rm -rf /var/lib/apt/lists/* COPY src/kvazaar / - RUN apt-get purge -y automake autoconf libtool m4 build-essential git yasm - RUN apt-get autoremove -y - RUN apt-get clean all - RUN rm -rf /var/lib/apt/lists/* ENTRYPOINT ["/kvazaar"] CMD ["--help"]