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

build: Upgrade packages before install

This commit is contained in:
Michael Stucki 2016-03-13 15:00:21 +01:00
parent 682e377f53
commit a116081eb5

View File

@ -7,6 +7,7 @@ ENV DEBIAN_FRONTEND noninteractive
RUN sed -i 's/main$/main universe/' /etc/apt/sources.list
RUN apt-get -qq update
RUN apt-get -qqy upgrade
RUN apt-get install -y bsdmainutils curl file screen bc
RUN apt-get install -y android-tools-adb android-tools-fastboot
@ -14,8 +15,6 @@ RUN apt-get install -y bison build-essential flex git gnupg gperf libesd0-dev li
RUN apt-get install -y ccache g++-multilib gcc-multilib lib32ncurses5-dev lib32readline-gplv2-dev lib32z1-dev
RUN apt-get install -y tig rsync
RUN apt-get -qqy upgrade
RUN mkdir -p /home/cmbuild && useradd --no-create-home cmbuild && rsync -a /etc/skel/ /home/cmbuild/
RUN mkdir /home/cmbuild/bin