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

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

Browser: Set chromium version in docker image

parent 4b63e743
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
FROM ubuntu:20.04

ENV CHROMIUM_DIR "/srv/chromium"
ENV CHROMIUM_VER "123.0.6312.122"

RUN dpkg --add-architecture i386

@@ -11,7 +12,7 @@ RUN apt-get update &&\

RUN mkdir ${CHROMIUM_DIR}

RUN curl -s https://raw.githubusercontent.com/chromium/chromium/123.0.6312.122/build/install-build-deps.py \
RUN curl -s https://raw.githubusercontent.com/chromium/chromium/${CHROMIUM_VER}/build/install-build-deps.py \
       | python - --android --lib32 --no-chromeos-fonts --no-prompt

RUN git config --global user.name "John Doe"
+2 −2
Original line number Diff line number Diff line
@@ -2,12 +2,12 @@

set -e

chromium_dir="${chromium_dir:-/srv/chromium}"
chromium_dir="${CHROMIUM_DIR}"
root_dir=$(dirname "$(readlink -f "$0")")
if [ ! -d "$chromium_dir" ]; then
    chromium_dir=$root_dir
fi
chromium_version="123.0.6312.122"
chromium_version=$(grep 'ENV CHROMIUM_VER' Dockerfile | awk -F'"' '{print $2}')
chromium_code=$(echo "$chromium_version" | tr -d '.' | cut -c5-)
chromium_url=https://github.com/chromium/chromium.git
clean=0