Add valgrind to foundationdb/build image (#4636)
* Add valgrind to foundationdb/build image * Remove valgrind-devel system package
This commit is contained in:
parent
2de2ebd337
commit
1a05d22538
|
@ -19,7 +19,6 @@ RUN rpmkeys --import mono-project.com.rpmkey.pgp && \
|
||||||
debbuild \
|
debbuild \
|
||||||
devtoolset-8 \
|
devtoolset-8 \
|
||||||
devtoolset-8-libubsan-devel \
|
devtoolset-8-libubsan-devel \
|
||||||
devtoolset-8-valgrind-devel \
|
|
||||||
devtoolset-8-systemtap-sdt-devel \
|
devtoolset-8-systemtap-sdt-devel \
|
||||||
docker-ce \
|
docker-ce \
|
||||||
dos2unix \
|
dos2unix \
|
||||||
|
@ -228,4 +227,18 @@ RUN source /opt/rh/devtoolset-8/enable && \
|
||||||
cd .. && \
|
cd .. && \
|
||||||
rm -rf /tmp/*
|
rm -rf /tmp/*
|
||||||
|
|
||||||
|
# valgrind
|
||||||
|
RUN source /opt/rh/devtoolset-8/enable && \
|
||||||
|
curl -Ls https://sourceware.org/pub/valgrind/valgrind-3.17.0.tar.bz2 -o valgrind-3.17.0.tar.bz2 && \
|
||||||
|
echo "ad3aec668e813e40f238995f60796d9590eee64a16dff88421430630e69285a2 valgrind-3.17.0.tar.bz2" > valgrind-sha.txt && \
|
||||||
|
sha256sum -c valgrind-sha.txt && \
|
||||||
|
mkdir valgrind && \
|
||||||
|
tar --strip-components 1 --no-same-owner --no-same-permissions --directory valgrind -xjf valgrind-3.17.0.tar.bz2 && \
|
||||||
|
cd valgrind && \
|
||||||
|
./configure && \
|
||||||
|
make && \
|
||||||
|
make install && \
|
||||||
|
cd .. && \
|
||||||
|
rm -rf /tmp/*
|
||||||
|
|
||||||
RUN curl -Ls https://github.com/manticoresoftware/manticoresearch/raw/master/misc/junit/ctest2junit.xsl -o /opt/ctest2junit.xsl
|
RUN curl -Ls https://github.com/manticoresoftware/manticoresearch/raw/master/misc/junit/ctest2junit.xsl -o /opt/ctest2junit.xsl
|
||||||
|
|
Loading…
Reference in New Issue