Skip to content

Commit

Permalink
Fix docker build error in test_docker_uri_mode_validation (#4599)
Browse files Browse the repository at this point in the history
* Try latest

Signed-off-by: harupy <hkawamura0130@gmail.com>

* install build-essential

Signed-off-by: harupy <hkawamura0130@gmail.com>

* comment out

Signed-off-by: harupy <hkawamura0130@gmail.com>

* remove pyarrow in lint-requirements.txt

Signed-off-by: harupy <hkawamura0130@gmail.com>

* fix apt-get command

Signed-off-by: harupy <hkawamura0130@gmail.com>

* use python 3.6

Signed-off-by: harupy <hkawamura0130@gmail.com>

* remove sudo

Signed-off-by: harupy <hkawamura0130@gmail.com>

* fix

Signed-off-by: harupy <hkawamura0130@gmail.com>
  • Loading branch information
harupy committed Jul 26, 2021
1 parent 0d5c54c commit 221fedc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ RUN apt-get update && \
apt-get install -y default-libmysqlclient-dev build-essential curl \
# cmake and protobuf-compiler required for onnx install
cmake protobuf-compiler && \
conda install python=3.6 && \
# install required python packages
pip install -r dev-requirements.txt --no-cache-dir && \
pip install -r test-requirements.txt --no-cache-dir && \
Expand Down
1 change: 1 addition & 0 deletions tests/resources/example_docker_project/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
FROM continuumio/miniconda3:4.6.14

RUN apt-get update -y && apt-get install build-essential -y
RUN pip install mlflow && pip install sqlalchemy

0 comments on commit 221fedc

Please sign in to comment.