summaryrefslogtreecommitdiffstats
path: root/taskcluster/docker/valgrind-build/Dockerfile
blob: a585b5771cbf6f1dd1e97e70c079ecd1978c568f (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
63
64
65
66
FROM $DOCKER_IMAGE_PARENT
MAINTAINER Mike Hommey <mhommey@mozilla.com>

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

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

# We could try to be smart and install all the -dbg packages corresponding to
# the installed packages, but, not all of them are actually for libraries used
# by Firefox, leading to a larger docker image. Moreover, some of the -dbg
# packages for unnecessary libraries pull other packages through dependencies,
# that make for even larger docker images.
RUN apt-get update && apt-get install \
    dbus-x11 \
    libgtk-3-bin \
    libdbus-1-3-dbgsym \
    libatk-bridge2.0-0-dbgsym \
    libatk1.0-0-dbgsym \
    libcairo2-dbgsym \
    libdbus-glib-1-2-dbgsym \
    libdrm2-dbgsym \
    libffi7-dbgsym \
    libfontconfig1-dbgsym \
    libglx-mesa0-dbgsym \
    libglapi-mesa-dbgsym \
    libglib2.0-0-dbgsym \
    libgdk-pixbuf-2.0-0-dbgsym \
    libgtk-3-0-dbgsym \
    libice6-dbgsym \
    libicu67-dbgsym \
    libpango-1.0-0-dbgsym \
    libpcre3-dbg \
    libpixman-1-0-dbgsym \
    libsm6-dbgsym \
    libvorbis0a-dbgsym \
    libwayland-client0-dbgsym \
    libwayland-cursor0-dbgsym \
    libx11-6-dbgsym \
    libx11-xcb1-dbgsym \
    libxau6-dbgsym \
    libxcb-glx0-dbgsym \
    libxcb-render0-dbgsym \
    libxcb-shm0-dbgsym \
    libxcb1-dbgsym \
    libxcomposite1-dbgsym \
    libxcursor1-dbgsym \
    libxdamage1-dbgsym \
    libxdmcp6-dbg \
    libxext6-dbg \
    libxfixes3-dbgsym \
    libxi6-dbgsym \
    libxinerama1-dbgsym \
    libxrandr2-dbgsym \
    libxrender1-dbgsym \
    libxt6-dbgsym \
    libxxf86vm1-dbg \
    valgrind-dbgsym \
    xvfb \
    zlib1g-dbgsym

# %include taskcluster/docker/recipes/xvfb.sh
COPY topsrcdir/taskcluster/docker/recipes/xvfb.sh /builds/worker/scripts/xvfb.sh