Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Remove pip requirements from docker files (#5064)
* Remove pip requirements from docker files * Fix consistency and failing builds * fixup arena requirements.txt * Update KFserving to 0.4.1 * Remove pip requirements from docker files * Fix consistency and failing builds * fixup arena requirements.txt * small fixup
- Loading branch information
Showing
43 changed files
with
138 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
requests | ||
six | ||
pyyaml | ||
requests==2.18.4 | ||
six==1.11.0 | ||
pyyaml==3.12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
apache-beam[gcp] | ||
pandas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
kubernetes | ||
Flask | ||
flask-cors | ||
requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
boto3 | ||
ruamel.yaml | ||
requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
watson-machine-learning-client-V4>=1.0.110 | ||
minio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
watson-machine-learning-client-V4>=1.0.110 | ||
minio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
watson-machine-learning-client-V4>=1.0.110 | ||
minio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
pyyaml==3.12 | ||
six==1.11.0 | ||
tensorflow-transform==0.23.0 | ||
tensorflow-model-analysis==0.23.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
kubernetes==10.0.1 | ||
kfserving==0.4.1 | ||
requests==2.22.0 | ||
Flask==1.1.1 | ||
flask-cors==3.0.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
pyyaml | ||
kubernetes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
pandas==0.24.2 | ||
scikit-learn==0.21.2 | ||
scipy==1.4.1 | ||
tensorflow==2.2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pyhive[presto] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
ARG BASE_IMAGE_TAG=1.12.0-py3 | ||
FROM tensorflow/tensorflow:$BASE_IMAGE_TAG | ||
RUN python3 -m pip install keras | ||
COPY requirements.txt . | ||
RUN python3 -m pip install -r \ | ||
requirements.txt --quiet --no-cache-dir \ | ||
&& rm -f requirements.txt | ||
COPY ./src /pipelines/component/src | ||
ENTRYPOINT python3 /pipelines/component/src/train.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
keras |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
samples/contrib/nvidia-resnet/components/preprocess/requirements.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
keras |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
samples/contrib/nvidia-resnet/components/train/requirements.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
keras |
6 changes: 4 additions & 2 deletions
6
samples/contrib/versioned-pipeline-ci-samples/kaggle-ci-sample/download_dataset/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
FROM python:3.7 | ||
ENV KAGGLE_USERNAME=[YOUR KAGGLE USERNAME] \ | ||
KAGGLE_KEY=[YOUR KAGGLE KEY] | ||
RUN pip install kaggle | ||
RUN pip install google-cloud-storage | ||
COPY requirements.txt . | ||
RUN python3 -m pip install -r \ | ||
requirements.txt --quiet --no-cache-dir \ | ||
&& rm -f requirements.txt | ||
COPY ./download_data.py . | ||
CMD ["python", "download_data.py"] |
2 changes: 2 additions & 0 deletions
2
.../contrib/versioned-pipeline-ci-samples/kaggle-ci-sample/download_dataset/requirements.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
kaggle | ||
google-cloud-storage |
6 changes: 4 additions & 2 deletions
6
samples/contrib/versioned-pipeline-ci-samples/kaggle-ci-sample/submit_result/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
FROM python:3.7 | ||
ENV KAGGLE_USERNAME=[YOUR KAGGLE USERNAME] \ | ||
KAGGLE_KEY=[YOUR KAGGLE KEY] | ||
RUN pip install kaggle | ||
RUN pip install gcsfs | ||
COPY requirements.txt . | ||
RUN python3 -m pip install -r \ | ||
requirements.txt --quiet --no-cache-dir \ | ||
&& rm -f requirements.txt | ||
COPY ./submit_result.py . | ||
CMD ["python", "submit_result.py"] |
2 changes: 2 additions & 0 deletions
2
...les/contrib/versioned-pipeline-ci-samples/kaggle-ci-sample/submit_result/requirements.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
kaggle | ||
gcsfs |
6 changes: 4 additions & 2 deletions
6
samples/contrib/versioned-pipeline-ci-samples/kaggle-ci-sample/train_model/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
FROM python:3.7 | ||
COPY ./train.py . | ||
RUN pip install pandas==0.25.1 | ||
RUN pip install gcsfs numpy matplotlib seaborn sklearn | ||
COPY requirements.txt . | ||
RUN python3 -m pip install -r \ | ||
requirements.txt --quiet --no-cache-dir \ | ||
&& rm -f requirements.txt | ||
CMD ["python", "train.py"] |
6 changes: 6 additions & 0 deletions
6
samples/contrib/versioned-pipeline-ci-samples/kaggle-ci-sample/train_model/requirements.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
pandas==0.25.1 | ||
gcsfs | ||
numpy | ||
matplotlib | ||
seaborn | ||
sklearn |
5 changes: 4 additions & 1 deletion
5
samples/contrib/versioned-pipeline-ci-samples/kaggle-ci-sample/visualize_html/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
FROM tensorflow/tensorflow:2.0.0-py3 | ||
RUN pip install gcsfs pandas matplotlib seaborn | ||
COPY requirements.txt . | ||
RUN python3 -m pip install -r \ | ||
requirements.txt --quiet --no-cache-dir \ | ||
&& rm -f requirements.txt | ||
COPY ./visualize.py . | ||
CMD ["python", 'visualize.py'] |
4 changes: 4 additions & 0 deletions
4
...es/contrib/versioned-pipeline-ci-samples/kaggle-ci-sample/visualize_html/requirements.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
gcsfs | ||
pandas | ||
matplotlib | ||
seaborn |
6 changes: 4 additions & 2 deletions
6
samples/contrib/versioned-pipeline-ci-samples/kaggle-ci-sample/visualize_table/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
FROM python:3.7 | ||
RUN pip install gcsfs | ||
RUN pip install pandas | ||
COPY requirements.txt . | ||
RUN python3 -m pip install -r \ | ||
requirements.txt --quiet --no-cache-dir \ | ||
&& rm -f requirements.txt | ||
COPY ./visualize.py . | ||
CMD ["python", 'visualize.py'] |
2 changes: 2 additions & 0 deletions
2
...s/contrib/versioned-pipeline-ci-samples/kaggle-ci-sample/visualize_table/requirements.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
gcsfs | ||
pandas |