Skip to content

Commit

Permalink
build(docker): Bump dependencies (#1618)
Browse files Browse the repository at this point in the history
Reduces exposure to CVEs.

**Testing**

`$ make build`

```
docker run --rm -it seldonio/mlserver:1.5.0.dev1 pip list | grep cryptography
```

Looks like the cryptography package isn't there?

It does have other packages, as expected:

```
$ docker run --rm -it seldonio/mlserver:1.5.0.dev1 pip list | grep huggingface
huggingface-hub                          0.21.3
mlserver-huggingface                     1.5.0.dev1
```

```
$ docker run --rm -it seldonio/mlserver:1.5.0.dev1 pip list | grep catboost
catboost                                 1.2.3
mlserver-catboost                        1.5.0.dev1
```
  • Loading branch information
Jesse Claven committed Mar 4, 2024
1 parent 968358a commit 6a9990a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM python:3.10-slim AS wheel-builder
SHELL ["/bin/bash", "-l", "-c"]

ARG POETRY_VERSION="1.7.1"
ARG POETRY_VERSION="1.8.1"

COPY ./hack/build-wheels.sh ./hack/build-wheels.sh
COPY ./mlserver ./mlserver
Expand All @@ -27,8 +27,8 @@ RUN pip install poetry==$POETRY_VERSION && \
FROM registry.access.redhat.com/ubi9/ubi-minimal
SHELL ["/bin/bash", "-c"]

ARG PYTHON_VERSION=3.10.11
ARG CONDA_VERSION=23.3.1
ARG PYTHON_VERSION=3.10.12
ARG CONDA_VERSION=23.11.0
ARG MINIFORGE_VERSION=${CONDA_VERSION}-0
ARG RUNTIMES="all"

Expand Down

0 comments on commit 6a9990a

Please sign in to comment.