1
0
mirror of https://github.com/stucki/docker-lineageos synced 2025-01-09 17:39:47 -05:00

Fix order of update command during build

This commit is contained in:
Michael Stucki 2014-03-02 13:23:13 +01:00
parent 4ed5aed97f
commit c19e8b793e

View File

@ -20,12 +20,12 @@ 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
RUN apt-get -qqy upgrade
RUN useradd --create-home cmbuild
RUN mkdir /home/cmbuild/bin