Merge pull request #304 from PeterDaveHello/RemoveAdditionalAptCleanInDockerfile

Remove additional apt-get clean in Dockerfile
This commit is contained in:
Marko Viitanen 2021-06-03 17:12:57 +03:00 committed by GitHub
commit f7a397b102
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,6 @@ COPY . kvazaar
# data in the image.
RUN apt-get update \
&& apt-get install -y $REQUIRED_PACKAGES \
&& apt-get clean \
&& cd kvazaar \
&& ./autogen.sh \
&& ./configure --disable-shared \
@ -35,7 +34,6 @@ RUN apt-get update \
&& 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}/