Skip to content

Commit

Permalink
fix(docker): add missing .so at runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
sileht committed Oct 6, 2020
1 parent a0f5b65 commit 4cc24ce
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/cpu.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ RUN --mount=type=cache,target=/var/cache/apt --mount=type=cache,target=/var/lib/
libarchive13 \
libprotobuf10

RUN for url in \
https://deepdetect.com/dd/pkgs/ubuntu-18.04/libcppnetlib0_0.11.2+dfsg1-2_amd64.deb \
; do curl -L -s -o /tmp/p.deb $url && dpkg -i /tmp/p.deb && rm -rf /tmp/p.deb; done

# Fix permissions
RUN ln -sf /dev/stdout /var/log/deepdetect.log && \
ln -sf /dev/stderr /var/log/deepdetect.log
Expand Down
4 changes: 4 additions & 0 deletions docker/gpu.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ RUN --mount=type=cache,target=/var/cache/apt --mount=type=cache,target=/var/lib/
libarchive13 \
libprotobuf10

RUN for url in \
https://deepdetect.com/dd/pkgs/ubuntu-18.04/libcppnetlib0_0.11.2+dfsg1-2_amd64.deb \
; do curl -L -s -o /tmp/p.deb $url && dpkg -i /tmp/p.deb && rm -rf /tmp/p.deb; done

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

0 comments on commit 4cc24ce

Please sign in to comment.