diff options
author | Richard Weickelt <richard@weickelt.de> | 2019-05-25 17:45:41 +0200 |
---|---|---|
committer | Richard Weickelt <richard@weickelt.de> | 2019-06-07 21:29:06 +0000 |
commit | cba28b26cdf93a74b52e1ec1635bee7107cb4995 (patch) | |
tree | 812b74d1db9f7a0d69ca134006794cca5493d2a9 /docker-compose.yml | |
parent | 7d3c57f18250af0599b5af799dab14f172f19312 (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-compose.yml')
-rw-r--r-- | docker-compose.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index ef38ec26d..bff8f5d87 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,3 +13,5 @@ services: volumes: - .:/qbs network_mode: bridge + cap_add: + - SYS_PTRACE |