1
0
mirror of https://github.com/lineageos4microg/docker-lineage-cicd synced 2024-11-09 10:09:56 +01:00

Refine ncurses5 installation

Rather than building on the Docker Hub, let's install prebuilt packages. Therefore apacman is no more required.
This commit is contained in:
Julian Xhokaxhiu 2017-02-23 22:58:41 +01:00
parent 3b1d0eaecb
commit 4c0f2f2629
4 changed files with 7 additions and 13 deletions

@ -100,18 +100,13 @@ RUN pacman -Sy --needed --noconfirm --noprogressbar base-devel
RUN yes | pacman -Sy --noprogressbar --needed gcc-multilib
# Install AUR package manager
#############################
# Install manually compiled packages
####################################
RUN pacman -U --noconfirm --noprogressbar /root/apacman-3.1-1-any.pkg.tar.xz \
&& rm /root/apacman-3.1-1-any.pkg.tar.xz
# Install missing AUR packages
##############################
RUN apacman -S --noconfirm --noprogressbar \
ncurses5-compat-libs \
lib32-ncurses5-compat-libs
RUN pacman -U --noconfirm --noprogressbar /root/ncurses5-compat-libs-6.0+20161224-1-x86_64.pkg.tar.xz \
&& rm /root/ncurses5-compat-libs-6.0+20161224-1-x86_64.pkg.tar.xz \
&& pacman -U --noconfirm --noprogressbar /root/lib32-ncurses5-compat-libs-6.0-4-x86_64.pkg.tar.xz \
&& rm /root/lib32-ncurses5-compat-libs-6.0-4-x86_64.pkg.tar.xz
# Install required Android AOSP packages
########################################
@ -159,8 +154,7 @@ RUN ln -sf /proc/1/fd/1 /var/log/docker.log
# Cleanup
#########
RUN yes | pacman -Scc \
&& yes | pacman -Sc --cachedir=/var/cache/apacman/pkg
RUN yes | pacman -Scc
# Set the entry point to init.sh
###########################################

Binary file not shown.

Binary file not shown.