mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-23 18:14:06 +00:00
Modified Dockerfile to execute in a single "RUN" and remove "apt-mark showauto"
- Decreases docker image size 400MB -> 180MB
This commit is contained in:
parent
e5439ced13
commit
1ef0332cbe
16
Dockerfile
16
Dockerfile
|
@ -7,16 +7,16 @@ FROM ubuntu:15.10
|
||||||
m4 \
|
m4 \
|
||||||
build-essential \
|
build-essential \
|
||||||
git \
|
git \
|
||||||
yasm
|
yasm; \
|
||||||
RUN git clone --depth=1 git://github.com/ultravideo/kvazaar.git
|
git clone --depth=1 git://github.com/ultravideo/kvazaar.git; \
|
||||||
RUN cd kvazaar; \
|
cd kvazaar; \
|
||||||
./autogen.sh; \
|
./autogen.sh; \
|
||||||
./configure --disable-shared;\
|
./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 /
|
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"]
|
ENTRYPOINT ["/kvazaar"]
|
||||||
CMD ["--help"]
|
CMD ["--help"]
|
||||||
|
|
Loading…
Reference in a new issue