11# SPDX-License-Identifier: BSD-3-Clause
2- # Copyright 2016-2021 , Intel Corporation
2+ # Copyright 2016-2022 , Intel Corporation
33
44#
55# Dockerfile - Base image for PMDK related projects.
@@ -21,7 +21,7 @@ ARG BASE_DEPS="\
2121 cmake \
2222 git"
2323
24- # PMDK's dependencies (optional; libpmemobj-devel package may be used instead)
24+ # PMDK's dependencies (optional; libpmem*-dev packages may be used instead)
2525ARG PMDK_DEPS="\
2626 autoconf \
2727 automake \
@@ -33,7 +33,12 @@ ARG PMDK_DEPS="\
3333 pandoc \
3434 python3"
3535
36- # pmem's Valgrind (optional; valgrind-devel may be used instead)
36+ # libpmemobj-cpp's dependencies (optional; libpmemobj-cpp-dev package may be used instead)
37+ ARG LIBPMEMOBJ_CPP_DEPS="\
38+ libatomic1 \
39+ libtbb-dev"
40+
41+ # pmem's Valgrind (optional; valgrind may be used instead)
3742ARG VALGRIND_DEPS="\
3843 autoconf \
3944 automake"
@@ -44,9 +49,9 @@ ARG DOC_DEPS="\
4449 pandoc"
4550
4651# Tests (optional)
47- # NOTE: glibc is installed as a separate command; see below
4852ARG TESTS_DEPS="\
4953 gdb \
54+ libc6-dbg \
5055 libunwind-dev"
5156
5257# Misc for our builds/CI (optional)
@@ -57,12 +62,6 @@ ARG MISC_DEPS="\
5762 sudo \
5863 whois"
5964
60- # Coverity
61- ENV COVERITY_DEPS "\
62- curl \
63- ruby \
64- wget"
65-
6665ENV DEBIAN_FRONTEND noninteractive
6766
6867# Update packages and install basic tools
@@ -74,7 +73,6 @@ RUN apt-get update \
7473 ${DOC_DEPS} \
7574 ${TESTS_DEPS} \
7675 ${MISC_DEPS} \
77- ${COVERITY_DEPS} \
7876 && rm -rf /var/lib/apt/lists/* \
7977 && apt-get clean all
8078
0 commit comments