Skip to content

Commit 4e07a20

Browse files
committed
docker: fix Valgrind errors on Xenial by updating to v3.12.0
The Valgrind version shipped with Xenial has some bugs that keep our tests from working due to bad interactions with openssl [1]. Fix this by using the "hola-launchpad/valgrind" PPA that provides a newer version for which the bug has been fixed. [1]: https://bugs.launchpad.net/ubuntu/+source/valgrind/+bug/1574437
1 parent 3c59d45 commit 4e07a20

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

azure-pipelines/docker/xenial

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
ARG BASE
22
FROM $BASE
3-
RUN apt-get update && \
3+
RUN echo 'deb http://ppa.launchpad.net/hola-launchpad/valgrind/ubuntu xenial main' >/etc/apt/sources.list.d/valgrind.list && \
4+
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8A0303A7544D59A08EBD1D621BCFD9273D292CF6 && \
5+
apt-get update && \
46
apt-get install -y --no-install-recommends \
57
clang \
68
cmake \

0 commit comments

Comments
 (0)