Skip to content

Commit

Permalink
Introduce experimental Dockerfile for compose-web-based jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
Schahen committed Mar 26, 2021
1 parent b00aa7d commit 963ab0d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions ci/docker/compose-web/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
FROM ubuntu:20.10

ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'

RUN dpkg --add-architecture i386 && apt-get update -yqq && apt-get install -y \
curl \
git \
python3 \
python-is-python3

RUN apt-get clean

RUN mkdir ~/bin
ENV PATH=~/bin:$PATH

RUN curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
RUN chmod a+x ~/bin/repo
RUN mkdir androidx-main
WORKDIR androidx-main
RUN ~/bin/repo init -u https://android.googlesource.com/platform/manifest \
-b androidx-main --partial-clone --clone-filter=blob:limit=10M
RUN ~/bin/repo sync

0 comments on commit 963ab0d

Please sign in to comment.