Skip to content

Commit 33c1c03

Browse files
Ivan Zhangdeliahu
authored andcommitted
Add pillow to default packages (#351)
(cherry picked from commit 81f78ec)
1 parent 880b6d6 commit 33c1c03

File tree

6 files changed

+14
-0
lines changed

6 files changed

+14
-0
lines changed

docs/deployments/request-handlers.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ msgpack==0.6.1
8080
numpy>=1.13.3,<2
8181
requirements-parser==0.2.0
8282
packaging==19.0.0
83+
pillow==6.1.0
8384
```
8485

8586
You can install additional PyPI packages and import your own Python packages. See [Python Packages](../piplines/python-packages.md) for more details.

docs/pipelines/aggregators-custom.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ msgpack==0.6.1
4848
numpy>=1.13.3,<2
4949
requirements-parser==0.2.0
5050
packaging==19.0.0
51+
pillow==6.1.0
5152
```
5253

5354
You can install additional PyPI packages and import your own Python packages. See [Python Packages](python-packages.md) for more details.

docs/pipelines/estimators-custom.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ msgpack==0.6.1
6161
numpy>=1.13.3,<2
6262
requirements-parser==0.2.0
6363
packaging==19.0.0
64+
pillow==6.1.0
6465
```
6566

6667
You can install additional PyPI packages and import your own Python packages. See [Python Packages](python-packages.md) for more details.

docs/pipelines/transformers-custom.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ msgpack==0.6.1
9393
numpy>=1.13.3,<2
9494
requirements-parser==0.2.0
9595
packaging==19.0.0
96+
pillow==6.1.0
9697
```
9798

9899
You can install additional PyPI packages and import your own Python packages. See [Python Packages](python-packages.md) for more details.

images/tf-api/Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
FROM cortexlabs/tf-base
22

33
ENV PYTHONPATH="/src:${PYTHONPATH}"
4+
RUN apt-get update -qq && apt-get install -y -q \
5+
build-essential \
6+
libfreetype6-dev \
7+
libpng-dev \
8+
libzmq3-dev \
9+
pkg-config \
10+
software-properties-common \
11+
zlib1g-dev \
12+
&& apt-get clean -qq && rm -rf /var/lib/apt/lists/*
413

514
COPY pkg/workloads/cortex/lib/requirements.txt /src/cortex/lib/requirements.txt
615
COPY pkg/workloads/cortex/tf_api/requirements.txt /src/cortex/tf_api/requirements.txt

pkg/workloads/cortex/lib/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ numpy>=1.13.3,<2
44
requirements-parser==0.2.0
55
packaging==19.0.0
66
json_tricks==3.13.1
7+
pillow==6.1.0

0 commit comments

Comments
 (0)