Skip to content

Commit

Permalink
dockerfile changes to fix MongoEncryption:- libdl missing
Browse files Browse the repository at this point in the history
Signed-off-by: Neil South <[email protected]>
  • Loading branch information
neildsouth committed Jan 17, 2024
1 parent 11721d4 commit a7da147
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,12 @@ ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get clean \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
&& apt install -y libc-dev \ # this is a workaround for Mongo encryption library
curl \
&& rm -rf /var/lib/apt/lists

RUN ln -s /usr/lib/x86_64-linux-gnu/libdl.so.2 /app/libdl.so # part 2 of workaround for Mongo encryption library

WORKDIR /opt/monai/ig

COPY --from=build /app/out .
Expand Down

0 comments on commit a7da147

Please sign in to comment.