summaryrefslogtreecommitdiffstats
path: root/taskcluster/docker/toolchain-build/Dockerfile
blob: 6e56172ab271ff139631c76aaa636a436b2433b5 (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
57
58
59
60
61
62
FROM $DOCKER_IMAGE_PARENT
MAINTAINER Mike Hommey <mhommey@mozilla.com>

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

ENV XZ_OPT=-T0

ARG DOCKER_IMAGE_PACKAGES
ARG TASKCLUSTER_ROOT_URL
RUN /usr/local/sbin/setup_packages.sh $TASKCLUSTER_ROOT_URL $DOCKER_IMAGE_PACKAGES

RUN apt-get update && \
    apt-get install \
      autoconf \
      autoconf2.13 \
      automake \
      bison \
      build-essential \
      cabextract \
      curl \
      clang-13 \
      cmake \
      flex \
      gawk \
      gcc-multilib \
      git \
      gnupg \
      jq \
      libbz2-dev \
      libexpat1-dev \
      libffi-dev \
      libncursesw5-dev \
      libsqlite3-dev \
      libssl-dev \
      libtool \
      libucl-dev \
      libxml2-dev \
      lld-13 \
      msitools \
      ninja-build \
      openssh-client \
      p7zip-full \
      pkg-config \
      procps \
      python3-distutils-extra \
      python3-requests \
      python3-toml \
      scons \
      subversion \
      tar \
      unzip \
      uuid \
      uuid-dev \
      wget \
      zip \
      zlib1g-dev

# mmdebstrap is not available in jessie, but we only need it in the buster-based image.
# We also want zstd when available.
RUN apt-get install fakechroot fakeroot mmdebstrap zstd || true