@@ -23,15 +23,15 @@ ARG SKIP_PMDK_BUILD
2323# Base development packages
2424ARG BASE_DEPS="\
2525 cmake \
26- gcc \
26+ build-essential \
2727 git"
2828
2929# Dependencies for compiling libpmemobj-cpp project
3030ARG LIBPMEMOBJ_CPP_DEPS="\
3131 libatomic1 \
3232 libtbb-dev"
3333
34- # PMDK's dependencies (optional; libpmemobj package may be used instead)
34+ # PMDK's dependencies (optional; libpmemobj-dev package may be used instead)
3535ARG PMDK_DEPS="\
3636 autoconf \
3737 automake \
@@ -43,7 +43,7 @@ ARG PMDK_DEPS="\
4343 pandoc \
4444 python3"
4545
46- # pmem's Valgrind (optional; valgrind-devel may be used instead)
46+ # pmem's Valgrind dependencies (optional; valgrind package may be used instead)
4747ARG VALGRIND_DEPS="\
4848 autoconf \
4949 automake"
@@ -61,6 +61,7 @@ ARG DOC_DEPS="\
6161# Tests (optional)
6262ARG TESTS_DEPS="\
6363 gdb \
64+ libc6-dbg \
6465 libunwind-dev"
6566
6667# Misc for our builds/CI (optional)
@@ -73,9 +74,9 @@ ARG MISC_DEPS="\
7374
7475ENV DEBIAN_FRONTEND noninteractive
7576
76- # Update the Apt cache and install basic tools
77+ # Update the apt cache and install basic tools
7778RUN apt-get update \
78- && apt-get install -y software-properties-common \
79+ && apt-get install -y --no-install-recommends \
7980 ${BASE_DEPS} \
8081 ${LIBPMEMOBJ_CPP_DEPS} \
8182 ${PMDK_DEPS} \
@@ -84,7 +85,7 @@ RUN apt-get update \
8485 ${DOC_DEPS} \
8586 ${TESTS_DEPS} \
8687 ${MISC_DEPS} \
87- && rm -rf /var/lib/apt/lists/*
88+ && rm -rf /var/lib/apt/lists/*
8889
8990# Install valgrind
9091COPY install-valgrind.sh install-valgrind.sh
0 commit comments