Skip to content

Commit

Permalink
Install libssl1 into the docker image since monai-executor depends on it
Browse files Browse the repository at this point in the history
Docker images based on Ubuntu 22.04 and later lacks libssl1 on which monai-executor depends.

Signed-off-by: Onur Ülgen <onur.ulgen@kcl.ac.uk>
  • Loading branch information
onurulgen committed Oct 4, 2024
1 parent e9d0d9d commit 4d3cf3a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions monai/deploy/packager/templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
COMMON_FOOTPRINT = """
USER root
RUN curl http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.23_amd64.deb -o libssl.deb && \\
dpkg -i libssl.deb && rm libssl.deb
RUN pip install --no-cache-dir --upgrade setuptools==59.5.0 pip==22.3 wheel==0.37.1 numpy>=1.21.6
RUN mkdir -p /etc/monai/ \\
Expand Down

1 comment on commit 4d3cf3a

@MMelQin
Copy link
Collaborator

@MMelQin MMelQin commented on 4d3cf3a Oct 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the commit.

Supporting Debian packages with the packager had been requested and discussed for quite a bit, though for various reason it had not been done, and users had to go the multiple stage build or custom base image route.

In any case, the packager in this SDK repo had been obsoleted beginning with SDK v0.6, and there is currently no plan to release a patch build of v0.5.1. So, users would still have to patch SDK v0.5.1.

Please sign in to comment.