Skip to content

Commit

Permalink
aix-explainer: update versions to fix CVEs (kserve#2364)
Browse files Browse the repository at this point in the history
* aix-explainer: update versions to fix CVEs

Signed-off-by: MessKon <[email protected]>

* fix flake8 lint errors

Signed-off-by: MessKon <[email protected]>

* update aix360 module reference

Signed-off-by: MessKon <[email protected]>

* revert aix360 module reference

Signed-off-by: MessKon <[email protected]>

* allow python version 3.6

Signed-off-by: MessKon <[email protected]>

* allow python version >3.4

Signed-off-by: MessKon <[email protected]>

* use python:3.8-slim-bullseye

Signed-off-by: MessKon <[email protected]>

* use python:3.8-slim and revert cvxpy change

Signed-off-by: MessKon <[email protected]>

* use python:3.7-slim and update aix360 requirement

Signed-off-by: MessKon <[email protected]>
Signed-off-by: Dan Sun <[email protected]>
  • Loading branch information
MessKon authored and yuzisun committed Aug 7, 2022
1 parent b4c4dca commit eb9ccc6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion python/aixexplainer.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
FROM python:3.7
FROM python:3.7-slim

COPY third_party third_party

COPY kserve kserve
RUN pip install --no-cache-dir --upgrade pip && pip install --no-cache-dir -e ./kserve

RUN apt update && apt install -y build-essential
COPY aixexplainer aixexplainer
RUN pip install --no-cache-dir -e ./aixexplainer
RUN apt remove -y build-essential

RUN useradd kserve -m -u 1000 -d /home/kserve
USER 1000
Expand Down
2 changes: 1 addition & 1 deletion python/aixexplainer/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
install_requires=[
"kserve>=0.7.0",
"argparse >= 1.4.0",
"aix360 >= 0.1.0",
"aix360 >= 0.2.0",
"lime >= 0.1.1.37",
"nest_asyncio>=1.4.0",
"cvxpy == 1.1.13"
Expand Down

0 comments on commit eb9ccc6

Please sign in to comment.