Skip to content

Commit 936f109

Browse files
authored
Add opencv system packages to lib (#772)
1 parent c469081 commit 936f109

File tree

9 files changed

+19
-0
lines changed

9 files changed

+19
-0
lines changed

docs/deployments/python.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ nltk==3.4.5
142142
np-utils==0.5.12.1
143143
numpy==1.18.0
144144
pandas==0.25.3
145+
opencv-python==4.1.2.30
145146
Pillow==6.2.1
146147
requests==2.22.0
147148
scikit-image==0.16.2

docs/deployments/tensorflow.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ dill==0.3.1.1
110110
msgpack==0.6.2
111111
numpy==1.18.0
112112
requests==2.22.0
113+
opencv-python==4.1.2.30
113114
tensor2tensor==1.15.2
114115
tensorflow-hub==0.7.0
115116
tensorflow==2.0.0

images/onnx-serve-gpu/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ RUN apt-get update -qq && apt-get install -y -q \
1414
python3.6-dev \
1515
python3.6-distutils \
1616
git \
17+
libsm6 \
18+
libxext6 \
19+
libxrender-dev \
1720
&& apt-get clean -qq && rm -rf /var/lib/apt/lists/* && \
1821
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
1922
python3.6 get-pip.py && \

images/onnx-serve/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ RUN apt-get update -qq && apt-get install -y -q \
1414
python3.6-dev \
1515
python3.6-distutils \
1616
git \
17+
libsm6 \
18+
libxext6 \
19+
libxrender-dev \
1720
&& apt-get clean -qq && rm -rf /var/lib/apt/lists/* && \
1821
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
1922
python3.6 get-pip.py && \

images/python-serve-gpu/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ RUN apt-get update -qq && apt-get install -y -q \
1414
python3.6-dev \
1515
python3.6-distutils \
1616
git \
17+
libsm6 \
18+
libxext6 \
19+
libxrender-dev \
1720
&& apt-get clean -qq && rm -rf /var/lib/apt/lists/* && \
1821
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
1922
python3.6 get-pip.py && \

images/python-serve/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ RUN apt-get update -qq && apt-get install -y -q \
1414
python3.6-dev \
1515
python3.6-distutils \
1616
git \
17+
libsm6 \
18+
libxext6 \
19+
libxrender-dev \
1720
&& apt-get clean -qq && rm -rf /var/lib/apt/lists/* && \
1821
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
1922
python3.6 get-pip.py && \

images/tf-api/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ RUN apt-get update -qq && apt-get install -y -q \
1414
software-properties-common \
1515
zlib1g-dev \
1616
git \
17+
libsm6 \
18+
libxext6 \
19+
libxrender-dev \
1720
&& apt-get clean -qq && rm -rf /var/lib/apt/lists/*
1821

1922
COPY pkg/workloads/cortex/lib/requirements.txt /src/cortex/lib/requirements.txt

pkg/workloads/cortex/serve/python.requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ joblib==0.14.1
33
Keras==2.3.1
44
nltk==3.4.5
55
np-utils==0.5.12.1
6+
opencv-python==4.1.2.30
67
pandas==0.25.3
78
Pillow==6.2.1
89
scikit-image==0.16.2

pkg/workloads/cortex/serve/tf.requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
opencv-python==4.1.2.30
12
tensor2tensor==1.15.2
23
tensorflow-hub==0.7.0
34

0 commit comments

Comments
 (0)