Skip to content

Commit

Permalink
fix(build): docker builds with tcmalloc
Browse files Browse the repository at this point in the history
  • Loading branch information
beniz committed Apr 23, 2021
1 parent 642f173 commit 824752c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docker/cpu.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ RUN --mount=type=cache,id=dede_cache_lib,sharing=locked,target=/var/cache/apt \
libgoogle-perftools-dev \
curl \
libarchive-dev \
libtcmalloc-minimal4 \
bash-completion \
libomp-10-dev \
libomp5-10
Expand Down Expand Up @@ -145,6 +146,7 @@ RUN --mount=type=cache,id=dede_cache_lib,sharing=locked,target=/var/cache/apt \
libboost-stacktrace1.71.0 \
libboost-system1.71.0 \
libarchive13 \
libtcmalloc-minimal4 \
libomp-10-dev \
libomp5-10

Expand Down
4 changes: 3 additions & 1 deletion docker/gpu.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ RUN --mount=type=cache,id=dede_cache_lib,sharing=locked,target=/var/cache/apt \
libgoogle-perftools-dev \
curl \
libarchive-dev \
libtcmalloc-minimal4 \
bash-completion

RUN for url in \
Expand Down Expand Up @@ -143,7 +144,8 @@ RUN --mount=type=cache,id=dede_cache_lib,sharing=locked,target=/var/cache/apt \
libboost-regex1.71.0 \
libboost-stacktrace1.71.0 \
libboost-system1.71.0 \
libarchive13
libarchive13 \
libtcmalloc-minimal4

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

0 comments on commit 824752c

Please sign in to comment.