summaryrefslogtreecommitdiffstats
path: root/taskcluster/docker/android-components/Dockerfile
blob: be3ba58b3c6be2a35e92aada698036911cf25361 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
FROM $DOCKER_IMAGE_PARENT
MAINTAINER Geoff Brown <gbrown@mozilla.com>

# This is the image used for most build and test tasks related to
# android-components, focus, and fenix.

VOLUME /builds/worker/checkouts
VOLUME /builds/worker/workspace
VOLUME /builds/worker/tooltool-cache

ENV CURL='curl --location --retry 5' \
    GRADLE_OPTS='-Xmx4096m -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false' \
    LANG='en_US.UTF-8' \
    TERM='dumb'

# less, screen, and vim help debugging interactive tasks in taskcluster
# yaml required by some ui-test tasks
RUN apt-get update && \
    apt-get install \
      autoconf2.13 \
      build-essential \
      base-files \
      ccache \
      cmake \
      curl \
      file \
      gnupg \
      jq \
      less \
      locales \
      openjdk-17-jdk \
      openssh-client \
      procps \
      python3-dev \
      python3-pip \
      python3-yaml \
      rsync \
      screen \
      sudo \
      tar \
      unzip \
      uuid \
      valgrind \
      vim \
      x11-utils \
      xvfb \
      wget \
      zip \
      zstd

RUN pip3 install --break-system-packages taskcluster

RUN locale-gen "$LANG"

# Back to the workdir, matching desktop-build.
WORKDIR /builds/worker