Fix for Dockerfile: install kvazaar to the system

This commit is contained in:
Marko Viitanen 2016-03-11 13:34:28 +02:00
parent 292660d73f
commit 42641cdb5e

View file

@ -32,12 +32,11 @@ MAINTAINER Marko Viitanen <fador@iki.fi>
./autogen.sh; \ ./autogen.sh; \
./configure --disable-shared;\ ./configure --disable-shared;\
make;\ make;\
make install; \
AUTOINSTALLED_PACKAGES=`apt-mark showauto`; \ AUTOINSTALLED_PACKAGES=`apt-mark showauto`; \
apt-get remove --purge --force-yes -y $REQUIRED_PACKAGES $AUTOINSTALLED_PACKAGES; \ apt-get remove --purge --force-yes -y $REQUIRED_PACKAGES $AUTOINSTALLED_PACKAGES; \
apt-get clean autoclean; \ apt-get clean autoclean; \
apt-get autoremove -y; \ apt-get autoremove -y; \
rm -rf /var/lib/{apt,dpkg,cache,log}/ rm -rf /var/lib/{apt,dpkg,cache,log}/
# Because we build only the static binary, copy that to the root ENTRYPOINT ["kvazaar"]
COPY src/kvazaar /
ENTRYPOINT ["/kvazaar"]
CMD ["--help"] CMD ["--help"]