2016-03-09 09:12:50 +00:00
|
|
|
FROM ubuntu:15.10
|
2016-03-09 11:22:27 +00:00
|
|
|
ENV REQUIRED_PACKAGES automake autoconf libtool m4 build-essential git yasm
|
2016-03-09 09:12:50 +00:00
|
|
|
RUN apt-get update
|
2016-03-09 11:22:27 +00:00
|
|
|
RUN apt-get install -y $REQUIRED_PACKAGES ; \
|
2016-03-09 10:56:59 +00:00
|
|
|
git clone --depth=1 git://github.com/ultravideo/kvazaar.git; \
|
|
|
|
cd kvazaar; \
|
2016-03-09 09:12:50 +00:00
|
|
|
./autogen.sh; \
|
|
|
|
./configure --disable-shared;\
|
2016-03-09 10:56:59 +00:00
|
|
|
make;\
|
2016-03-09 11:22:27 +00:00
|
|
|
AUTOINSTALLED_PACKAGES=`apt-mark showauto`;\
|
|
|
|
apt-get remove --purge -y $REQUIRED_PACKAGES $AUTOINSTALLED_PACKAGES; \
|
2016-03-09 10:56:59 +00:00
|
|
|
apt-get autoremove -y; \
|
|
|
|
apt-get clean all; \
|
|
|
|
rm -rf /var/lib/apt/lists/*
|
2016-03-09 09:12:50 +00:00
|
|
|
COPY src/kvazaar /
|
|
|
|
ENTRYPOINT ["/kvazaar"]
|
|
|
|
CMD ["--help"]
|