Skip to content

Commit 6b8411a

Browse files
committed
fix(build): docker builds with tcmalloc
1 parent 351d6c6 commit 6b8411a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docker/cpu.Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ RUN --mount=type=cache,id=dede_cache_lib,sharing=locked,target=/var/cache/apt \
8282
libgoogle-perftools-dev \
8383
curl \
8484
libarchive-dev \
85+
libtcmalloc-minimal4 \
8586
bash-completion \
8687
libomp-10-dev \
8788
libomp5-10
@@ -145,6 +146,7 @@ RUN --mount=type=cache,id=dede_cache_lib,sharing=locked,target=/var/cache/apt \
145146
libboost-stacktrace1.71.0 \
146147
libboost-system1.71.0 \
147148
libarchive13 \
149+
libtcmalloc-minimal4 \
148150
libomp-10-dev \
149151
libomp5-10
150152

docker/gpu.Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ RUN --mount=type=cache,id=dede_cache_lib,sharing=locked,target=/var/cache/apt \
8383
libgoogle-perftools-dev \
8484
curl \
8585
libarchive-dev \
86+
libtcmalloc-minimal4 \
8687
bash-completion
8788

8889
RUN for url in \
@@ -143,7 +144,8 @@ RUN --mount=type=cache,id=dede_cache_lib,sharing=locked,target=/var/cache/apt \
143144
libboost-regex1.71.0 \
144145
libboost-stacktrace1.71.0 \
145146
libboost-system1.71.0 \
146-
libarchive13
147+
libarchive13 \
148+
libtcmalloc-minimal4
147149

148150
# Fix permissions
149151
RUN ln -sf /dev/stdout /var/log/deepdetect.log && \

0 commit comments

Comments
 (0)