Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6d8d0ea0 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

Dockerfile: Update deps install

- Pick deps from github mirror
- Also add deps from install-build-deps-android.sh

This reverts commit b3c6ccd8.
parent b3c6ccd8
Loading
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -23,12 +23,20 @@ RUN add-apt-repository -y ppa:deadsnakes/ppa

RUN apt-get -qq update && \
    apt-get install -qqy --no-install-recommends \
    python3.8
    python3.8 lib32z1 lighttpd xvfb libncurses5:i386 libstdc++6:i386 zlib1g:i386

RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 2
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1
RUN update-alternatives  --set python3 /usr/bin/python3.8

# Install chromium build dependencies
RUN curl -s https://raw.githubusercontent.com/chromium/chromium/main/build/install-build-deps.sh \
    | perl -pe 's/apt-get install \$\{do_quietly-}/DEBIAN_FRONTEND=noninteractive apt-get install -y/' \
    | bash -e -s - \
    --no-syms --lib32 --no-arm --no-chromeos-fonts --no-nacl --no-prompt

RUN apt-get -f install

# Setup locale
RUN localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
ENV LANG en_US.UTF-8
+0 −1
Original line number Diff line number Diff line
@@ -106,7 +106,6 @@ fi

cd $chromium_dir/src
. build/android/envsetup.sh
. build/install-build-deps-android.sh

if [ ! -z "$arch" ]; then
    build $arch