1
0
mirror of https://github.com/stucki/docker-lineageos synced 2024-12-19 17:12:29 -05:00

Upgrade all packages during "docker build"

This commit is contained in:
Michael Stucki 2014-03-02 13:06:38 +01:00
parent 6416e72603
commit eddf8c87b3

View File

@ -20,6 +20,8 @@ RUN apt-get install -y bison build-essential curl flex git-core gnupg gperf libe
RUN apt-get install -y g++-multilib gcc-multilib lib32ncurses5-dev lib32readline-gplv2-dev lib32z1-dev
RUN apt-get install -y tig
RUN apt-get -qqy upgrade
# Workaround for apt-get upgrade issue described here: https://github.com/dotcloud/docker/issues/1724
# If you still have problems with upgrading this image, you most likely use an outdated base image
RUN dpkg-divert --local --rename /usr/bin/ischroot && ln -sf /bin/true /usr/bin/ischroot