summaryrefslogtreecommitdiffstats
path: root/taskcluster/docker/valgrind-build
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /taskcluster/docker/valgrind-build
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--taskcluster/docker/valgrind-build/Dockerfile66
1 files changed, 66 insertions, 0 deletions
diff --git a/taskcluster/docker/valgrind-build/Dockerfile b/taskcluster/docker/valgrind-build/Dockerfile
new file mode 100644
index 0000000000..a585b5771c
--- /dev/null
+++ b/taskcluster/docker/valgrind-build/Dockerfile
@@ -0,0 +1,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