aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorRichard Weickelt <richard@weickelt.de>2019-05-25 17:45:41 +0200
committerRichard Weickelt <richard@weickelt.de>2019-06-07 21:29:06 +0000
commitcba28b26cdf93a74b52e1ec1635bee7107cb4995 (patch)
tree812b74d1db9f7a0d69ca134006794cca5493d2a9 /docker
parent7d3c57f18250af0599b5af799dab14f172f19312 (diff)
Make the address sanitizer work in Docker
- Libasan requires ptrace capabilities when running in Docker - Provide a suppressions file - Update stretch Docker image to build against libicu and match the configure options of the official Qt release. Otherwise the address sanitizer fails when Qbs loads plugins. Change-Id: Ib620187a3cdd486eaf646ee0bd022b811744a998 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'docker')
-rw-r--r--docker/stretch/Dockerfile7
1 files changed, 6 insertions, 1 deletions
diff --git a/docker/stretch/Dockerfile b/docker/stretch/Dockerfile
index 70db3dd8d..d7258f97f 100644
--- a/docker/stretch/Dockerfile
+++ b/docker/stretch/Dockerfile
@@ -37,6 +37,7 @@ RUN apt-get update -qq && \
libfontconfig1-dev \
libfreetype6-dev \
libgmp-dev \
+ libicu-dev \
libmpc-dev \
libmpfr-dev \
libtool \
@@ -67,8 +68,11 @@ RUN mkdir -p qt/build && \
-nomake examples \
-nomake tests \
-platform linux-g++ \
+ -no-use-gold-linker \
+ -R . \
+ -sysconfdir /etc/xdg \
-qt-freetype -qt-harfbuzz -qt-pcre -qt-sqlite -qt-xcb -qt-zlib \
- -no-cups -no-dbus -no-pch \
+ -no-cups -no-dbus -no-pch -no-libudev \
-no-feature-accessibility -no-opengl \
-skip qtactiveqt \
-skip qt3d \
@@ -145,6 +149,7 @@ RUN apt-get update -qq && \
ca-certificates \
git \
libclang-3.9 \
+ libicu57 \
pkg-config \
make \
help2man \