mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-23 18:14:06 +00:00
1ef0332cbe
- Decreases docker image size 400MB -> 180MB
23 lines
629 B
Docker
23 lines
629 B
Docker
FROM ubuntu:15.10
|
|
RUN apt-get update
|
|
RUN apt-get install -y \
|
|
automake \
|
|
autoconf \
|
|
libtool \
|
|
m4 \
|
|
build-essential \
|
|
git \
|
|
yasm; \
|
|
git clone --depth=1 git://github.com/ultravideo/kvazaar.git; \
|
|
cd kvazaar; \
|
|
./autogen.sh; \
|
|
./configure --disable-shared;\
|
|
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 /
|
|
ENTRYPOINT ["/kvazaar"]
|
|
CMD ["--help"]
|