mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 11:24:05 +00:00
Moved required packages and apt-mark showauto output to env variables
This commit is contained in:
parent
1ef0332cbe
commit
4ca43aeb04
13
Dockerfile
13
Dockerfile
|
@ -1,19 +1,14 @@
|
|||
FROM ubuntu:15.10
|
||||
ENV REQUIRED_PACKAGES automake autoconf libtool m4 build-essential git yasm
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y \
|
||||
automake \
|
||||
autoconf \
|
||||
libtool \
|
||||
m4 \
|
||||
build-essential \
|
||||
git \
|
||||
yasm; \
|
||||
RUN apt-get install -y $REQUIRED_PACKAGES ; \
|
||||
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`; \
|
||||
AUTOINSTALLED_PACKAGES=`apt-mark showauto`;\
|
||||
apt-get remove --purge -y $REQUIRED_PACKAGES $AUTOINSTALLED_PACKAGES; \
|
||||
apt-get autoremove -y; \
|
||||
apt-get clean all; \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
|
Loading…
Reference in a new issue