summaryrefslogtreecommitdiffstats
path: root/taskcluster/docker/debian-build/Dockerfile
blob: 4e0e04c15064a6e52b3c1bae28de8242a401a371 (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
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 TASKCLUSTER_ROOT_URL
ARG DOCKER_IMAGE_PACKAGES
RUN /usr/local/sbin/setup_packages.sh $TASKCLUSTER_ROOT_URL $DOCKER_IMAGE_PACKAGES

# binutils is needed for base toolchain builds. Ideally, it wouldn't be needed.
# libc6-i386 and lib32gcc1 are needed for wine.
# libdbus-glib-1-2 and libgtk-3-0 are needed to run xpcshell during the build.
# lib32atomic1, lib32stdc++6 and lib32z1 are needed to run some 32-bits
# cpio is needed by xar (mac repackaging on linux)
# spidermonkey tests. libasound2 is needed to run xpcshell after we introduced
# the dependencies on alsa via Web MIDI.
RUN apt-get update && \
    apt-get dist-upgrade && \
    apt-get install \
      binutils \
      bzip2 \
      curl \
      cpio \
      file \
      gawk \
      gnupg \
      jq \
      lib32atomic1 \
      'lib32gcc(1|-s1)$' \
      lib32stdc++6 \
      lib32z1 \
      libasound2 \
      libc6-i386 \
      libdbus-glib-1-2 \
      libgtk-3-0 \
      libucl1 \
      p7zip-full \
      procps \
      python3-dev \
      rsync \
      screen \
      tar \
      unzip \
      uuid \
      wget \
      x11-utils \
      zip