Use && instead of ; in Dockerfile steps

This commit is contained in:
Peter Dave Hello 2018-03-18 14:12:41 +08:00
parent 75fec2927a
commit e1570a2a5b

View file

@ -27,16 +27,16 @@ MAINTAINER Marko Viitanen <fador@iki.fi>
RUN apt-get update \
&& apt-get install -y $REQUIRED_PACKAGES \
&& apt-get clean \
&& git clone --depth=1 git://github.com/ultravideo/kvazaar.git; \
cd kvazaar; \
./autogen.sh; \
./configure --disable-shared;\
make;\
make install; \
AUTOINSTALLED_PACKAGES=`apt-mark showauto`; \
apt-get remove --purge --force-yes -y $REQUIRED_PACKAGES $AUTOINSTALLED_PACKAGES; \
apt-get clean autoclean; \
apt-get autoremove -y; \
rm -rf /var/lib/{apt,dpkg,cache,log}/
&& git clone --depth=1 git://github.com/ultravideo/kvazaar.git \
&& cd kvazaar \
&& ./autogen.sh \
&& ./configure --disable-shared \
&& make\
&& make install \
&& AUTOINSTALLED_PACKAGES=`apt-mark showauto` \
&& apt-get remove --purge --force-yes -y $REQUIRED_PACKAGES $AUTOINSTALLED_PACKAGES \
&& apt-get clean autoclean \
&& apt-get autoremove -y \
&& rm -rf /var/lib/{apt,dpkg,cache,log}/
ENTRYPOINT ["kvazaar"]
CMD ["--help"]